summaryrefslogtreecommitdiffstats
path: root/usr.bin/expand/expand.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/expand/expand.c')
-rw-r--r--usr.bin/expand/expand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/expand/expand.c b/usr.bin/expand/expand.c
index 8ede60aeac8..81e6deedb22 100644
--- a/usr.bin/expand/expand.c
+++ b/usr.bin/expand/expand.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: expand.c,v 1.8 2004/07/01 19:15:56 mickey Exp $ */
+/* $OpenBSD: expand.c,v 1.9 2005/03/08 23:30:50 cloder Exp $ */
/* $NetBSD: expand.c,v 1.5 1995/09/02 06:19:46 jtc Exp $ */
/*
@@ -40,7 +40,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)expand.c 8.1 (Berkeley) 6/9/93";
#endif
-static const char rcsid[] = "$OpenBSD: expand.c,v 1.8 2004/07/01 19:15:56 mickey Exp $";
+static const char rcsid[] = "$OpenBSD: expand.c,v 1.9 2005/03/08 23:30:50 cloder Exp $";
#endif /* not lint */
#include <stdio.h>
@@ -87,7 +87,7 @@ main(int argc, char *argv[])
do {
if (argc > 0) {
if (freopen(argv[0], "r", stdin) == NULL)
- err(1, argv[0]);
+ err(1, "%s", argv[0]);
argc--, argv++;
}
column = 0;