summaryrefslogtreecommitdiffstats
path: root/sys/dev/hea/eni_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hea/eni_buffer.c')
-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 0230c29..47ac14f 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;
OpenPOWER on IntegriCloud