aboutsummaryrefslogtreecommitdiffstats
path: root/src/slibc-alloc.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-16 03:15:41 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-16 03:15:41 +0200
commit5a84afcff62784e288ab2cbbecf5a3141eea91d8 (patch)
tree3cc43bdd0ed552abaee353570e175e26d96ccfc2 /src/slibc-alloc.c
parentlimitations on allocsize (diff)
downloadslibc-5a84afcff62784e288ab2cbbecf5a3141eea91d8.tar.gz
slibc-5a84afcff62784e288ab2cbbecf5a3141eea91d8.tar.bz2
slibc-5a84afcff62784e288ab2cbbecf5a3141eea91d8.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/slibc-alloc.c')
-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.