summaryrefslogtreecommitdiffstats
path: root/usr.bin/colcrt
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-10 08:42:58 +0000
committerkris <kris@FreeBSD.org>2000-07-10 08:42:58 +0000
commitcbf1c5013e356d17b5f8658becc7411fdec79850 (patch)
tree8fea3f14daf3152fa4fcdfb2a45d28c5c5cc9bb5 /usr.bin/colcrt
parent4f24653720b28a2f9804fc12b421e0c12fa87ce5 (diff)
downloadFreeBSD-src-cbf1c5013e356d17b5f8658becc7411fdec79850.zip
FreeBSD-src-cbf1c5013e356d17b5f8658becc7411fdec79850.tar.gz
Don't call err() with no format string.
Diffstat (limited to 'usr.bin/colcrt')
-rw-r--r--usr.bin/colcrt/colcrt.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/colcrt/colcrt.c b/usr.bin/colcrt/colcrt.c
index c165177..67f4b06 100644
--- a/usr.bin/colcrt/colcrt.c
+++ b/usr.bin/colcrt/colcrt.c
@@ -38,7 +38,11 @@ static const char copyright[] =
#endif /* not lint */
#ifndef lint
+#if 0
static const char sccsid[] = "@(#)colcrt.c 8.1 (Berkeley) 6/6/93";
+#endif
+static const char rcsid[] =
+ "$FreeBSD$";
#endif /* not lint */
#include <err.h>
@@ -104,7 +108,7 @@ main(argc, argv)
close(0);
if (!(f = fopen(argv[0], "r"))) {
fflush(stdout);
- err(1, argv[0]);
+ err(1, "%s", argv[0]);
}
argc--;
argv++;
OpenPOWER on IntegriCloud