diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-08-31 20:06:35 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-08-31 20:06:35 +0200 |
commit | b036f7360f54151067ad560c75682a0daee9e718 (patch) | |
tree | 75be89a39218730b08364cba658aafc0ad89cc10 | |
parent | fix dupa macros (diff) | |
download | slibc-b036f7360f54151067ad560c75682a0daee9e718.tar.gz slibc-b036f7360f54151067ad560c75682a0daee9e718.tar.bz2 slibc-b036f7360f54151067ad560c75682a0daee9e718.tar.xz |
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/string/strcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/strcat.c b/src/string/strcat.c index 4fff095..ed10cc2 100644 --- a/src/string/strcat.c +++ b/src/string/strcat.c @@ -55,7 +55,7 @@ char* strcat(char* restrict whither, const char* restrict whence) */ char* strncat(char* restrict whither, const char* restrict whence, size_t maxlen) { - strncpy(whither + strlen(whither), whence, laxmen); + strncpy(whither + strlen(whither), whence, maxlen); return whither; } |