diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/alloc.c b/lib/util/alloc.c index 8e1c4f1..eda0e63 100644 --- a/lib/util/alloc.c +++ b/lib/util/alloc.c @@ -46,5 +46,5 @@ void *alloc_string(size_t len) return NULL; } - return calloc(1, len); + return calloc(1, size); } |