X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libbb%2Fsafe_strncpy.c;h=cc425839fb36aa8a8766091b77d8659aa535b1c0;hb=d21f596ddb294bdb65623ba1d0e49b17d0829229;hp=ebc7e28f30ca09e1c42a13c45312a77c9b63581d;hpb=9a7d38fe2448617df98ecaea7dbe6f3131088586;p=oweals%2Fbusybox.git diff --git a/libbb/safe_strncpy.c b/libbb/safe_strncpy.c index ebc7e28f3..cc425839f 100644 --- a/libbb/safe_strncpy.c +++ b/libbb/safe_strncpy.c @@ -10,7 +10,7 @@ #include "libbb.h" /* Like strncpy but make sure the resulting string is always 0 terminated. */ -char * safe_strncpy(char *dst, const char *src, size_t size) +char *safe_strncpy(char *dst, const char *src, size_t size) { if (!size) return dst; dst[--size] = '\0';