From a49acc9b3e3807d625d16af72367a05d730b133c Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Wed, 23 Oct 2019 21:16:23 +0200 Subject: [PATCH] sys/oneway-malloc: fix typos --- sys/oneway-malloc/include/malloc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/oneway-malloc/include/malloc.h b/sys/oneway-malloc/include/malloc.h index 922950d533..9dc209ef72 100644 --- a/sys/oneway-malloc/include/malloc.h +++ b/sys/oneway-malloc/include/malloc.h @@ -47,12 +47,12 @@ void *malloc(size_t size); /** * @brief Allocated a new block of memory and move the existing content. - * @details This function allocates a new block of memory and memcpy()s the content of the ond `ptr` there. + * @details This function allocates a new block of memory and memcpy()s the content of the one `ptr` there. * * We do not know the size of the old block, so illegal reads would be likely, * if it was not for the fact that the memory heap up. * @param[in] ptr Old memory block that was allocated with malloc(), calloc() or realloc(). - * @param[in] size Size of the new block to allocted in bytes. + * @param[in] size Size of the new block to allocated in bytes. * @returns The new memory block. `NULL` if the "heap" is exhausted. */ void *realloc(void *ptr, size_t size);