Sync with sys/i386/isa/if_ed.c revision 1.149.

This commit is contained in:
KATO Takenori 1999-01-28 09:19:16 +00:00
parent a09bd8dae6
commit 965dc9cd45
1 changed files with 3 additions and 3 deletions

View File

@ -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 */