summaryrefslogtreecommitdiffstats
path: root/usr.bin/ar
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-10-06 20:43:35 +0000
committerwollman <wollman@FreeBSD.org>1994-10-06 20:43:35 +0000
commitc795f6d31582f6f463043f8d6af0c8f14ab12f60 (patch)
treef902e5b197ee5ed8c66f21af3c3cd7da99518339 /usr.bin/ar
parentd5d42820e00fb15ff8263194cdef65a75b5a6438 (diff)
downloadFreeBSD-src-c795f6d31582f6f463043f8d6af0c8f14ab12f60.zip
FreeBSD-src-c795f6d31582f6f463043f8d6af0c8f14ab12f60.tar.gz
Since Rod insists on having this idiotic error message, at least call
warnx() correctly so we don't get the double newline.
Diffstat (limited to 'usr.bin/ar')
-rw-r--r--usr.bin/ar/archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ar/archive.c b/usr.bin/ar/archive.c
index 10897d9..2d31b2f 100644
--- a/usr.bin/ar/archive.c
+++ b/usr.bin/ar/archive.c
@@ -221,7 +221,7 @@ put_arobj(cfp, sb)
if (options & AR_TR) {
if (lname > OLDARMAXNAME) {
(void)fflush(stdout);
- warnx("warning: %s truncated to %.*s\n",
+ warnx("warning: %s truncated to %.*s",
name, OLDARMAXNAME, name);
(void)fflush(stderr);
}
OpenPOWER on IntegriCloud