aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu/i386
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/gnu/i386
parentcaa3136039797f0d8f2874d113e8c26d7050ed62 (diff)
downloadsrc-4f91f96d9057ed01674b8d37366903e85af27306.tar.gz
src-4f91f96d9057ed01674b8d37366903e85af27306.zip
Compile in the case that anyone ever actually uses LEAVE_FREE_CHARS.
It's not clear what this does nor why they would do it, but it should compile, now. This could be a case where fixing the code so that it compiles merely masks more devious dysfunctional behaviour.
Notes
Notes: svn path=/head/; revision=60754
Diffstat (limited to 'sys/gnu/i386')
-rw-r--r--sys/gnu/i386/isa/dgb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/i386/isa/dgb.c b/sys/gnu/i386/isa/dgb.c
index f054e7baae3f..3755c4311209 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;