diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/dgb/dgb.c | 2 | ||||
-rw-r--r-- | sys/gnu/i386/isa/dgb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/dgb/dgb.c b/sys/dev/dgb/dgb.c index f054e7b..3755c43 100644 --- a/sys/dev/dgb/dgb.c +++ b/sys/dev/dgb/dgb.c @@ -2028,7 +2028,7 @@ dgbstart(tp) size=tail-head-LEAVE_FREE_CHARS; if (size <0) size=0; - } else { + else { size=port->txbufsize-head; if(tail+port->txbufsize < head) size=0; diff --git a/sys/gnu/i386/isa/dgb.c b/sys/gnu/i386/isa/dgb.c index f054e7b..3755c43 100644 --- a/sys/gnu/i386/isa/dgb.c +++ b/sys/gnu/i386/isa/dgb.c @@ -2028,7 +2028,7 @@ dgbstart(tp) size=tail-head-LEAVE_FREE_CHARS; if (size <0) size=0; - } else { + else { size=port->txbufsize-head; if(tail+port->txbufsize < head) size=0; |