diff options
author | Rob Landley <rob@landley.net> | 2015-03-01 15:58:40 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-03-01 15:58:40 -0600 |
commit | 70a84a356b1c56743618362867b9300007d11998 (patch) | |
tree | 2db214da036464cd76a2accb1191e3a9cdc1fc26 /lib | |
parent | 7c3c6a9639ee41fb750f78d87dc8a6cbe4e421a5 (diff) | |
download | toybox-70a84a356b1c56743618362867b9300007d11998.tar.gz toybox-70a84a356b1c56743618362867b9300007d11998.tar.bz2 toybox-70a84a356b1c56743618362867b9300007d11998.zip |
Patches from Elliott Hughes to add missing arguments to error_exit() calls.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xwrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c index 0a2b38f..14703a7 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); } |