aboutsummaryrefslogtreecommitdiffstats
path: root/src/malloc.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-18 07:43:41 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-18 07:43:41 +0100
commit406984648d4184fcf396cebadb39c31ca3dbdd69 (patch)
tree945910856bb198ac7943ab04561aa9959c2da826 /src/malloc.c
parentfix errors (diff)
downloadslibc-406984648d4184fcf396cebadb39c31ca3dbdd69.tar.gz
slibc-406984648d4184fcf396cebadb39c31ca3dbdd69.tar.bz2
slibc-406984648d4184fcf396cebadb39c31ca3dbdd69.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/malloc.c b/src/malloc.c
index 5a6739e..a3ad430 100644
--- a/src/malloc.c
+++ b/src/malloc.c
@@ -158,7 +158,7 @@ void* mallocz(size_t size, int clear)
* Variant of `malloc` that clears the allocation with zeroes.
*
* `zalloc(n)` is equivalent to `calloc(1, n)`, or equivalently,
- * `calloc(n, m)` is equivalent to `zalloc(n * m)` assumming `n * m`
+ * `calloc(n, m)` is equivalent to `zalloc(n * m)` assuming `n * m`
* does not overflow (in which case `calloc(n, m)` returns `ENOMEM`.)
*
* This is a klibc extension.