summaryrefslogtreecommitdiff
path: root/libthreads
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-01-22 02:12:32 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-01-22 02:12:32 +0000
commit255e619f2c0a947434b91e0e99a37e6a5d80e673 (patch)
tree990bd1efeddd863707e1af4a5e99e4f6ca3e4839 /libthreads
parentbadee5b9f9d2b495a73346147fc98a3f20ee719c (diff)
Formerly malloc.c.~2~
Diffstat (limited to 'libthreads')
-rw-r--r--libthreads/malloc.c2
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);
/*