From 322c0938f5366b4f604d8a6ca07809aee9870f7e Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 2 May 1999 21:39:52 +0000 Subject: s/size == 0;/size = 0;/ PR: 11409 Submitted by: Christopher Peterson --- sys/dev/dgb/dgb.c | 6 +++--- sys/dev/dgb/dgm.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sys/dev/dgb') 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 diff --git a/sys/dev/dgb/dgm.c b/sys/dev/dgb/dgm.c index f4243bd..c9d9cab 100644 --- a/sys/dev/dgb/dgm.c +++ b/sys/dev/dgb/dgm.c @@ -1,5 +1,5 @@ /*- - * $Id: dgm.c,v 1.9 1999/04/27 11:14:24 phk Exp $ + * $Id: dgm.c,v 1.10 1999/04/28 10:51:58 dt Exp $ * * This driver and the associated header files support the ISA PC/Xem * Digiboards. Its evolutionary roots are described below. @@ -1897,11 +1897,11 @@ dgmstart(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 -- cgit v1.1