projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix aux_path for verify state saving
[fio.git]
/
smalloc.c
diff --git
a/smalloc.c
b/smalloc.c
index 6bf66fcf58013db6e318d69c62b87dc68fb3357f..8412e7518464d6dbe3e7f218e33e47e855e8e26f 100644
(file)
--- a/
smalloc.c
+++ b/
smalloc.c
@@
-492,13
+492,7
@@
void *smalloc(size_t size)
void *scalloc(size_t nmemb, size_t size)
{
- void *ret;
-
- ret = smalloc(nmemb * size);
- if (ret)
- memset(ret, 0, nmemb * size);
-
- return ret;
+ return smalloc(nmemb * size);
}
char *smalloc_strdup(const char *str)