From e8cf1153e48b221d38904143592a4fdc4f49657c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 16 Oct 2015 03:17:51 +0200 Subject: typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/slibc-alloc.h | 2 +- src/slibc-alloc.c | 2 +- 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`. * -- cgit v1.2.3-70-g09d2