From 70a84a356b1c56743618362867b9300007d11998 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 1 Mar 2015 15:58:40 -0600 Subject: Patches from Elliott Hughes to add missing arguments to error_exit() calls. --- lib/xwrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/xwrap.c') diff --git a/lib/xwrap.c b/lib/xwrap.c index 0a2b38ff..14703a72 100644 --- a/lib/xwrap.c +++ b/lib/xwrap.c @@ -24,7 +24,7 @@ void xstrncat(char *dest, char *src, size_t size) long len = strlen(src); if (len+strlen(dest)+1 > size) - error_exit("'%s%s' > %ld bytes", src, (long)size); + error_exit("'%s%s' > %ld bytes", dest, src, (long)size); strcpy(dest+len, src); } -- cgit v1.2.3