summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-01-28 09:19:16 +0000
committerkato <kato@FreeBSD.org>1999-01-28 09:19:16 +0000
commit87b0be938f44d121be552cf7282f8d6b067678c8 (patch)
tree7302286773f8b006f9a965ff4c7e7d44273b1928
parent942e65945f078d3215a82884f260635bfa53ee85 (diff)
downloadFreeBSD-src-87b0be938f44d121be552cf7282f8d6b067678c8.zip
FreeBSD-src-87b0be938f44d121be552cf7282f8d6b067678c8.tar.gz
Sync with sys/i386/isa/if_ed.c revision 1.149.
-rw-r--r--sys/pc98/pc98/if_ed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/pc98/if_ed.c b/sys/pc98/pc98/if_ed.c
index 27ca9f0..5ce5e48 100644
--- a/sys/pc98/pc98/if_ed.c
+++ b/sys/pc98/pc98/if_ed.c
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ed.c,v 1.58 1999/01/19 00:21:51 peter Exp $
+ * $Id: if_ed.c,v 1.59 1999/01/27 11:05:12 kato Exp $
*/
/*
@@ -4010,7 +4010,7 @@ ed_hpp_write_mbufs(struct ed_softc *sc, struct mbuf *m, int dst)
len &= 1;
}
/* save last byte if needed */
- if (wantbyte = (len == 1))
+ if ((wantbyte = (len == 1)) != 0)
savebyte[0] = *data;
}
m = m->m_next; /* to next mbuf */
@@ -4046,7 +4046,7 @@ ed_hpp_write_mbufs(struct ed_softc *sc, struct mbuf *m, int dst)
data += (len & ~1);
len &= 1;
}
- if (wantbyte = (len == 1))
+ if ((wantbyte = (len == 1)) != 0)
savebyte[0] = *data;
} /* if len != 0 */
OpenPOWER on IntegriCloud