summaryrefslogtreecommitdiffstats
path: root/usr.bin/expand/expand.c
diff options
context:
space:
mode:
authorcloder <cloder@openbsd.org>2005-03-08 23:30:50 +0000
committercloder <cloder@openbsd.org>2005-03-08 23:30:50 +0000
commit3ab47bbb4606b1f8e9235ef6d0f0b5da9666e53c (patch)
treed829c2f402ef0418155c9f18818af7ed67784aa4 /usr.bin/expand/expand.c
parentOops. Put scoop GPIO pins into correct state on suspend, and remove an (diff)
downloadwireguard-openbsd-3ab47bbb4606b1f8e9235ef6d0f0b5da9666e53c.tar.xz
wireguard-openbsd-3ab47bbb4606b1f8e9235ef6d0f0b5da9666e53c.zip
Sweeping the tree for printf(s) where printf("%s",s) should be used.
This is a regression introduced during conversion from perror(3) to err(3)
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;