aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-18 21:00:53 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-18 21:00:53 +0200
commit3d9dc9732a395c09ddc47dd5b9c34aea5505dab8 (patch)
tree56df0e950377876f71b2b9a732a7eed3532dfd8b
parentdoc (diff)
downloadslibc-3d9dc9732a395c09ddc47dd5b9c34aea5505dab8.tar.gz
slibc-3d9dc9732a395c09ddc47dd5b9c34aea5505dab8.tar.bz2
slibc-3d9dc9732a395c09ddc47dd5b9c34aea5505dab8.tar.xz
doc typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--include/slibc-alloc.h2
-rw-r--r--src/slibc-alloc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/slibc-alloc.h b/include/slibc-alloc.h
index 53e1921..d493197 100644
--- a/include/slibc-alloc.h
+++ b/include/slibc-alloc.h
@@ -277,7 +277,7 @@ void* naive_realloc(void*, size_t, size_t) /* sic! we limit ourself to ASCII */
/**
* This function behaves exactly like `naive_realloc`, except
* it will return `NULL` with `errno` set to zero, if it is
- * not possible to perform the shrink or growth without creating
+ * not possible to perform the shrink or grow without creating
* new pointer.
*
* @param ptr The old allocation, see `realloc` for more details.
diff --git a/src/slibc-alloc.c b/src/slibc-alloc.c
index 4d2d0a6..edc498c 100644
--- a/src/slibc-alloc.c
+++ b/src/slibc-alloc.c
@@ -362,7 +362,7 @@ void* naive_realloc(void* ptr, size_t boundary, size_t size)
/**
* This function behaves exactly like `naive_realloc`, except
* it will return `NULL` with `errno` set to zero, if it is
- * not possible to perform the shrink or growth without creating
+ * not possible to perform the shrink or grow without creating
* new pointer.
*
* @param ptr The old allocation, see `realloc` for more details.