aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/slibc-alloc.h6
-rw-r--r--src/slibc-alloc.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/include/slibc-alloc.h b/include/slibc-alloc.h
index edc7cc7..18e7341 100644
--- a/include/slibc-alloc.h
+++ b/include/slibc-alloc.h
@@ -110,9 +110,9 @@ void* secure_realloc(void*, size_t)
/**
* 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.
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.