diff options
author | Chad Loder <cloder@cvs.openbsd.org> | 2005-03-08 23:30:51 +0000 |
---|---|---|
committer | Chad Loder <cloder@cvs.openbsd.org> | 2005-03-08 23:30:51 +0000 |
commit | 734be5fc4e5f69892775511a7f993526efb4e6e7 (patch) | |
tree | 9d033dc79fb40274401b2b3098ab06ab232cc538 | |
parent | 17556f06216ad5419a54bf5611bec0c2393b58d0 (diff) |
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)
-rw-r--r-- | usr.bin/expand/expand.c | 6 |
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; |