summaryrefslogtreecommitdiff
path: root/sys/dev/ed
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-01-28 01:59:53 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-01-28 01:59:53 +0000
commit0a5e03dda5108aa95d11b714c83217c28a147f6e (patch)
tree748e59fc38cfdff420e3cd6c6eb4f4c5af2273e7 /sys/dev/ed
parent972a1bcf5db5ee4c5520a1d29d3c81e81bdec84f (diff)
Notes
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 9133a485e758..e7bab24448a9 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/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.147 1998/12/13 23:00:48 eivind Exp $
+ * $Id: if_ed.c,v 1.148 1999/01/19 00:21:38 peter Exp $
*/
/*
@@ -3211,7 +3211,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 */
@@ -3247,7 +3247,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 */