aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.