aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/xfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index b4c059f20..17760a3c3 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -76,7 +76,7 @@ char * xstrdup(const char *s)
76 76
77// Die if we can't allocate n+1 bytes (space for the null terminator) and copy 77// Die if we can't allocate n+1 bytes (space for the null terminator) and copy
78// the (possibly truncated to length n) string into it. 78// the (possibly truncated to length n) string into it.
79char * xstrndup(const char *s, int n) 79char *xstrndup(const char *s, int n)
80{ 80{
81 int m; 81 int m;
82 char *t; 82 char *t;