aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hea/eni_transmit.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-01-27 20:09:21 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-01-27 20:09:21 +0000
commitb4e36adf1cde894f213665ef59f7fc43ff38ab14 (patch)
treec302c32a19a0adb56e0d73dc2079827abdab2d51 /sys/dev/hea/eni_transmit.c
parentd7bcbf6358ae499747d447804bdd6c759f596a01 (diff)
Notes
Diffstat (limited to 'sys/dev/hea/eni_transmit.c')
-rw-r--r--sys/dev/hea/eni_transmit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/hea/eni_transmit.c b/sys/dev/hea/eni_transmit.c
index 2721709a8fd6a..f44ec41223e45 100644
--- a/sys/dev/hea/eni_transmit.c
+++ b/sys/dev/hea/eni_transmit.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: eni_transmit.c,v 1.2 1998/10/18 11:58:57 phk Exp $
+ * @(#) $Id: eni_transmit.c,v 1.3 1998/10/31 20:06:45 phk Exp $
*
*/
@@ -43,7 +43,7 @@
#include <dev/hea/eni_var.h>
#ifndef lint
-__RCSID("@(#) $Id: eni_transmit.c,v 1.2 1998/10/18 11:58:57 phk Exp $");
+__RCSID("@(#) $Id: eni_transmit.c,v 1.3 1998/10/31 20:06:45 phk Exp $");
#endif
/*
@@ -463,7 +463,7 @@ retry:
* Get start of data onto full-word alignment
*/
KB_DATASTART ( m, cp, caddr_t );
- if ( align = ((u_int)cp) & (sizeof(u_long)-1)) {
+ if ((align = ((u_int)cp) & (sizeof(u_long)-1)) != 0) {
/*
* Gotta slide the data up
*/
@@ -622,7 +622,7 @@ retry:
* AAL5 PDUs need an extra two words for control/length and
* CRC. Check for AAL5 and add requirements here.
*/
- if (aal5 = (evp->ev_connvc->cvc_attr.aal.type == ATM_AAL5))
+ if ((aal5 = (evp->ev_connvc->cvc_attr.aal.type == ATM_AAL5)) != 0)
size = pdulen + 2 * sizeof(long);
else
size = pdulen;