summaryrefslogtreecommitdiffstats
path: root/sys/gnu/i386
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>2000-05-21 05:40:44 +0000
committerhoek <hoek@FreeBSD.org>2000-05-21 05:40:44 +0000
commit65f441c07383ce9e6f10124810cff27e1cb0f737 (patch)
tree7340396347af99daf664bb9002fea57040bdb7e0 /sys/gnu/i386
parente32c60c1fdf9d841032b190f2b1c661340da856a (diff)
downloadFreeBSD-src-65f441c07383ce9e6f10124810cff27e1cb0f737.zip
FreeBSD-src-65f441c07383ce9e6f10124810cff27e1cb0f737.tar.gz
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.
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 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;
OpenPOWER on IntegriCloud