diff options
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |