summaryrefslogtreecommitdiff
path: root/sys/dev/dgb
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>2000-05-21 05:40:44 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>2000-05-21 05:40:44 +0000
commit4f91f96d9057ed01674b8d37366903e85af27306 (patch)
tree803341718753b19941868c7c5356767cb9b95be1 /sys/dev/dgb
parentcaa3136039797f0d8f2874d113e8c26d7050ed62 (diff)
Notes
Diffstat (limited to 'sys/dev/dgb')
-rw-r--r--sys/dev/dgb/dgb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/dgb/dgb.c b/sys/dev/dgb/dgb.c
index f054e7baae3f..3755c4311209 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;