diff options
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); /* |