diff options
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r-- | libbb/xfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 4374048..f577315 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c @@ -71,7 +71,7 @@ extern char * xstrndup (const char *s, int n) { error_msg_and_die("xstrndup bug"); t = xmalloc(++n); - + return safe_strncpy(t,s,n); } |