Fixes mmap assertion check
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 13 Dec 2012 22:33:31 +0000 (14:33 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 13 Dec 2012 22:33:31 +0000 (14:33 -0800)
commit023a34b4dab43bb6f10ffe615f0b6287e7c01095
tree218f4d9249c7e704b671c955c1e01282664b363c
parent4ff03100165704e05753f5eb927bc520d46333fd
Fixes mmap assertion check

Check for MAP_FAILED (-1), not 0, like other allocations...
user/parlib/slab.c