aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-16 03:17:51 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-16 03:17:51 +0200
commite8cf1153e48b221d38904143592a4fdc4f49657c (patch)
tree1f4ea57fda60b4f3489b54be809cc7ba744cf5b1
parenttypo (diff)
downloadslibc-e8cf1153e48b221d38904143592a4fdc4f49657c.tar.gz
slibc-e8cf1153e48b221d38904143592a4fdc4f49657c.tar.bz2
slibc-e8cf1153e48b221d38904143592a4fdc4f49657c.tar.xz
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 18e7341..3c92fcf 100644
--- a/include/slibc-alloc.h
+++ b/include/slibc-alloc.h
@@ -111,7 +111,7 @@ void* secure_realloc(void*, size_t)
/**
* This function behaves exactly like `fast_realloc`, except:
* - Its behaviour is undefined if `ptr` is `NULL`.
- * - Its behaviour is undefined `size` equals the old allocation size.
+ * - Its behaviour is undefined if `size` equals the old allocation size.
* - Its behaviour is undefined if `size` is zero.
* - It will never free `ptr`.
*
diff --git a/src/slibc-alloc.c b/src/slibc-alloc.c
index b1d0889..2043ce0 100644
--- a/src/slibc-alloc.c
+++ b/src/slibc-alloc.c
@@ -174,7 +174,7 @@ void* secure_realloc(void* ptr, size_t size)
/**
* This function behaves exactly like `fast_realloc`, except:
* - Its behaviour is undefined if `ptr` is `NULL`.
- * - Its behaviour is undefined `size` equals the old allocation size.
+ * - Its behaviour is undefined if `size` equals the old allocation size.
* - Its behaviour is undefined if `size` is zero.
* - It will never free `ptr`.
*