summaryrefslogtreecommitdiffstats
path: root/sys/dev/dgb/dgb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/dgb/dgb.c')
-rw-r--r--sys/dev/dgb/dgb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/dgb/dgb.c b/sys/dev/dgb/dgb.c
index 7da59b0..127dfe9 100644
--- a/sys/dev/dgb/dgb.c
+++ b/sys/dev/dgb/dgb.c
@@ -1,5 +1,5 @@
/*-
- * dgb.c $Id: dgb.c,v 1.45 1999/04/27 11:14:22 phk Exp $
+ * dgb.c $Id: dgb.c,v 1.46 1999/04/28 10:51:55 dt Exp $
*
* Digiboard driver.
*
@@ -2097,11 +2097,11 @@ dgbstart(tp)
if(tail>head) {
size=tail-head-LEAVE_FREE_CHARS;
if (size <0)
- size==0;
+ size=0;
} else {
size=port->txbufsize-head;
if(tail+port->txbufsize < head)
- size==0;
+ size=0;
}
}
#else
OpenPOWER on IntegriCloud