aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/slibc-alloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/slibc-alloc.c b/src/slibc-alloc.c
index 743597e..b1d0889 100644
--- a/src/slibc-alloc.c
+++ b/src/slibc-alloc.c
@@ -173,9 +173,9 @@ void* secure_realloc(void* ptr, size_t size)
/**
* This function behaves exactly like `fast_realloc`, except:
- * - Its haviour is undefined if `ptr` is `NULL`.
- * - Its haviour is undefined `size` equals the old allocation size.
- * - Its haviour is undefined if `size` is zero.
+ * - Its behaviour is undefined if `ptr` is `NULL`.
+ * - Its behaviour is undefined `size` equals the old allocation size.
+ * - Its behaviour is undefined if `size` is zero.
* - It will never free `ptr`.
*
* @param ptr The old allocation, see `realloc` for more details.