summaryrefslogtreecommitdiffstats
path: root/usr.bin/biff/biff.c
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/biff/biff.c
parent4f24653720b28a2f9804fc12b421e0c12fa87ce5 (diff)
downloadFreeBSD-src-cbf1c5013e356d17b5f8658becc7411fdec79850.zip
FreeBSD-src-cbf1c5013e356d17b5f8658becc7411fdec79850.tar.gz
Don't call err() with no format string.
Diffstat (limited to 'usr.bin/biff/biff.c')
-rw-r--r--usr.bin/biff/biff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/biff/biff.c b/usr.bin/biff/biff.c
index 606afa8..718263f5 100644
--- a/usr.bin/biff/biff.c
+++ b/usr.bin/biff/biff.c
@@ -87,11 +87,11 @@ main(argc, argv)
switch(argv[0][0]) {
case 'n':
if (chmod(name, sb.st_mode & ~0100) < 0)
- err(2, name);
+ err(2, "%s", name);
break;
case 'y':
if (chmod(name, sb.st_mode | 0100) < 0)
- err(2, name);
+ err(2, "%s", name);
break;
default:
usage();
OpenPOWER on IntegriCloud