commit | 076b17cea9c9d6c86b926a166ef58f02334c9bdc | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue May 27 14:13:26 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue May 27 14:13:26 2008 +0200 |
tree | d76ab74fcc8431d26e67fafe07a16d1b2ebac46d | |
parent | 808e9ea8dd3dc3d631a7982fa0c4b01547cb811a [diff] |
smalloc: kill another debug printf() Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/smalloc.c b/smalloc.c index 3d3986b..c03c404 100644 --- a/smalloc.c +++ b/smalloc.c
@@ -439,10 +439,8 @@ #endif ptr = __smalloc_pool(pool, alloc_size); - if (!ptr) { - printf("failed allocating %u\n", alloc_size); + if (!ptr) return NULL; - } hdr = ptr; hdr->size = alloc_size;