summaryrefslogtreecommitdiff
path: root/com32/lib/strncat.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:24 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:24 -0700
commit8a9f920ac85ee686bfea135258fce0711c94faeb (patch)
tree53c010db5b9e94cd1b3bdc63767821bf96dba7ca /com32/lib/strncat.c
parent59f4b299267d59b5ed25dac416b00739a8e6bca3 (diff)
downloadsyslinux-8a9f920ac85ee686bfea135258fce0711c94faeb.tar.gz
Run Nindent on com32/lib/strncat.c
Automatically reformat com32/lib/strncat.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/lib/strncat.c')
-rw-r--r--com32/lib/strncat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/lib/strncat.c b/com32/lib/strncat.c
index 99d95759..71cdb35f 100644
--- a/com32/lib/strncat.c
+++ b/com32/lib/strncat.c
@@ -6,6 +6,6 @@
char *strncat(char *dst, const char *src, size_t n)
{
- strncpy(strchr(dst, '\0'), src, n);
- return dst;
+ strncpy(strchr(dst, '\0'), src, n);
+ return dst;
}