OSDN Git Service

Doh!!!
authorEric Andersen <andersen@codepoet.org>
Fri, 17 Oct 2003 09:05:20 +0000 (09:05 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 17 Oct 2003 09:05:20 +0000 (09:05 -0000)
libc/stdlib/malloc-930716/malloc.c

index f24c248..af26584 100644 (file)
@@ -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))))