summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-17 09:05:20 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-17 09:05:20 +0000
commit26f49b28b1eab5a021a821c1dadbdfcedc6b47c4 (patch)
tree96c36d6a2123007a8d6a2b3102a51969c1dba070 /libc/stdlib
parent3a3502d7607980222102541f58bddaf94a2b86e7 (diff)
Doh!!!
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/malloc-930716/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc-930716/malloc.c b/libc/stdlib/malloc-930716/malloc.c
index f24c24879..af2658415 100644
--- a/libc/stdlib/malloc-930716/malloc.c
+++ b/libc/stdlib/malloc-930716/malloc.c
@@ -167,7 +167,7 @@ void * __malloc_unlocked (size_t size)
#else
/* Some programs will call malloc (0). Lets be strict and return NULL */
if (unlikely(size == 0))
- return 0
+ return 0;
#endif
/* Check if they are doing something dumb like malloc(-1) */
if (unlikely(((unsigned long)size > (unsigned long)(sizeof (struct list)*-2))))