summaryrefslogtreecommitdiff
path: root/usr.bin/biff/biff.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/biff/biff.c')
-rw-r--r--usr.bin/biff/biff.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/biff/biff.c b/usr.bin/biff/biff.c
index ab96190e5e1..0f36c3ab18a 100644
--- a/usr.bin/biff/biff.c
+++ b/usr.bin/biff/biff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: biff.c,v 1.5 1998/12/07 20:10:09 deraadt Exp $ */
+/* $OpenBSD: biff.c,v 1.6 2000/06/30 16:00:11 millert Exp $ */
/* $NetBSD: biff.c,v 1.3 1995/03/26 02:34:22 glass Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)biff.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: biff.c,v 1.5 1998/12/07 20:10:09 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: biff.c,v 1.6 2000/06/30 16:00:11 millert Exp $";
#endif
#endif /* not lint */
@@ -93,11 +93,11 @@ main(argc, argv)
switch(argv[0][0]) {
case 'n':
if (chmod(name, sb.st_mode & ~S_IXUSR) < 0)
- err(2, name);
+ err(2, "%s", name);
break;
case 'y':
if (chmod(name, sb.st_mode | S_IXUSR) < 0)
- err(2, name);
+ err(2, "%s", name);
break;
default:
usage();