aboutsummaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility.c b/utility.c
index 4654daec4..9b805ae7d 100644
--- a/utility.c
+++ b/utility.c
@@ -1470,7 +1470,7 @@ extern char * xstrndup (const char *s, int n) {
1470 char *t; 1470 char *t;
1471 1471
1472 if (s == NULL) 1472 if (s == NULL)
1473 error_msg_and_die("xstrndup bug"); 1473 error_msg_and_die("xstrndup bug\n");
1474 1474
1475 t = xmalloc(n+1); 1475 t = xmalloc(n+1);
1476 strncpy(t,s,n); 1476 strncpy(t,s,n);