diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-01-22 02:12:32 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-01-22 02:12:32 +0000 |
commit | 255e619f2c0a947434b91e0e99a37e6a5d80e673 (patch) | |
tree | 990bd1efeddd863707e1af4a5e99e4f6ca3e4839 /libthreads | |
parent | badee5b9f9d2b495a73346147fc98a3f20ee719c (diff) | |
download | hurd-255e619f2c0a947434b91e0e99a37e6a5d80e673.tar.gz hurd-255e619f2c0a947434b91e0e99a37e6a5d80e673.tar.bz2 hurd-255e619f2c0a947434b91e0e99a37e6a5d80e673.zip |
Formerly malloc.c.~2~
Diffstat (limited to 'libthreads')
-rw-r--r-- | libthreads/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libthreads/malloc.c b/libthreads/malloc.c index b6a31c80..851d7c85 100644 --- a/libthreads/malloc.c +++ b/libthreads/malloc.c @@ -145,7 +145,7 @@ malloc(size) register free_list_t fl; register header_t h; - if ((int) size <= 0) /* sanity check */ + if ((int) size < 0) /* sanity check */ return 0; size += sizeof(union header); /* |