diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-16 03:14:17 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-16 03:14:17 +0100 |
commit | f9d960d3c8dd0227022042061ca61dd8e8069e08 (patch) | |
tree | 699593b98c3f6386b3c73ce3da2409e068c45d69 | |
parent | implement humansize (diff) | |
download | slibc-f9d960d3c8dd0227022042061ca61dd8e8069e08.tar.gz slibc-f9d960d3c8dd0227022042061ca61dd8e8069e08.tar.bz2 slibc-f9d960d3c8dd0227022042061ca61dd8e8069e08.tar.xz |
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | include/slibc-human.h | 4 | ||||
-rw-r--r-- | src/slibc-human/humansize.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/slibc-human.h b/include/slibc-human.h index 03cb88e..1807be6 100644 --- a/include/slibc-human.h +++ b/include/slibc-human.h @@ -232,12 +232,12 @@ int machinemode(mode_t* restrict, mode_t* restrict, const char* restrict) * Convert a file size of file offset from machine representation to human representation. * * @param buffer A buffer than shall be used if it is sufficiently large. - * @parma bufsize The allocation size of `buffer`. + * @param bufsize The allocation size of `buffer`. * Must be 0 if and only if `buffer` is `NULL`. * @param size The value to convert. * @param mode Representation style, 0 for default. * @param detail See documentation for the select value on `mode`. - * @parma point The symbol to use for decimal points. `NULL` or empty for default. + * @param point The symbol to use for decimal points. `NULL` or empty for default. * @return Human representation of the file size/offset, `NULL` on error. * On success, the caller is responsible for deallocating the * returned pointer, if and only if it is not `buffer`. diff --git a/src/slibc-human/humansize.c b/src/slibc-human/humansize.c index 0cc4c3d..4bc94db 100644 --- a/src/slibc-human/humansize.c +++ b/src/slibc-human/humansize.c @@ -26,12 +26,12 @@ * Convert a file size of file offset from machine representation to human representation. * * @param buffer A buffer than shall be used if it is sufficiently large. - * @parma bufsize The allocation size of `buffer`. + * @param bufsize The allocation size of `buffer`. * Must be 0 if and only if `buffer` is `NULL`. * @param size The value to convert. * @param mode Representation style, 0 for default. * @param detail See documentation for the select value on `mode`. - * @parma point The symbol to use for decimal points. `NULL` or empty for default. + * @param point The symbol to use for decimal points. `NULL` or empty for default. * @return Human representation of the file size/offset, `NULL` on error. * On success, the caller is responsible for deallocating the * returned pointer, if and only if it is not `buffer`. |