diff options
author | kris <kris@FreeBSD.org> | 2000-07-10 08:42:58 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-10 08:42:58 +0000 |
commit | cbf1c5013e356d17b5f8658becc7411fdec79850 (patch) | |
tree | 8fea3f14daf3152fa4fcdfb2a45d28c5c5cc9bb5 /usr.bin/colcrt/colcrt.c | |
parent | 4f24653720b28a2f9804fc12b421e0c12fa87ce5 (diff) | |
download | FreeBSD-src-cbf1c5013e356d17b5f8658becc7411fdec79850.zip FreeBSD-src-cbf1c5013e356d17b5f8658becc7411fdec79850.tar.gz |
Don't call err() with no format string.
Diffstat (limited to 'usr.bin/colcrt/colcrt.c')
-rw-r--r-- | usr.bin/colcrt/colcrt.c | 6 |
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++; |