Date: Thu, 27 Feb 2003 00:56:41 -0800 (PST) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/hea eni_buffer.c Message-ID: <200302270856.h1R8uf42061889@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2003/02/27 00:56:41 PST
Modified files:
sys/dev/hea eni_buffer.c
Log:
When we have found a chunk of memory that is large enough and have computed
a correctly aligned address in this block we really want to check, that the
part of the chunk that starts at the aligned address is large enough with
regard to the original request. Comparing it to 0 makes no sense, because this
is always true except in the rare case, that the aligned address is just at
the end of the chunk.
Approved by: jake (mentor)
Revision Changes Path
1.16 +1 -1 src/sys/dev/hea/eni_buffer.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302270856.h1R8uf42061889>
