aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2003-02-27 08:56:41 +0000
committerHartmut Brandt <harti@FreeBSD.org>2003-02-27 08:56:41 +0000
commitdce4c82d8ec3a00fb69688e28600c163adddab15 (patch)
tree3f8f5811ce2ce014ed9383a08dad49c9120adff2 /sys
parent76d6aef572ff1834fa5cf146861c1da40a5b1529 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/hea/eni_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hea/eni_buffer.c b/sys/dev/hea/eni_buffer.c
index 0230c2940989d..47ac14f349e81 100644
--- a/sys/dev/hea/eni_buffer.c
+++ b/sys/dev/hea/eni_buffer.c
@@ -267,7 +267,7 @@ eni_allocate_buffer ( eup, size )
/*
* If we use this alignment, will it still fit?
*/
- if ( (eptr->size - (nbase - eptr->base)) >= 0 )
+ if ( (eptr->size - (nbase - eptr->base)) >= nsize )
{
Mbd *etmp;