diff options
author | Chad Loder <cloder@cvs.openbsd.org> | 2005-03-08 23:31:54 +0000 |
---|---|---|
committer | Chad Loder <cloder@cvs.openbsd.org> | 2005-03-08 23:31:54 +0000 |
commit | 096aa0d88b0ce118384b9d928a5f2901384cd55f (patch) | |
tree | ef34e65f914597909cc42bc8785f839190916ede /usr.bin/checknr | |
parent | 734be5fc4e5f69892775511a7f993526efb4e6e7 (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)
OK mickey@
Diffstat (limited to 'usr.bin/checknr')
-rw-r--r-- | usr.bin/checknr/checknr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/checknr/checknr.c b/usr.bin/checknr/checknr.c index f8edbb92ba5..c378ced54b8 100644 --- a/usr.bin/checknr/checknr.c +++ b/usr.bin/checknr/checknr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: checknr.c,v 1.12 2004/07/01 19:20:23 mickey Exp $ */ +/* $OpenBSD: checknr.c,v 1.13 2005/03/08 23:31:53 cloder Exp $ */ /* $NetBSD: checknr.c,v 1.4 1995/03/26 04:10:19 glass Exp $ */ /* @@ -40,7 +40,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)checknr.c 8.1 (Berkeley) 6/6/93"; #else -static const char rcsid[] = "$OpenBSD: checknr.c,v 1.12 2004/07/01 19:20:23 mickey Exp $"; +static const char rcsid[] = "$OpenBSD: checknr.c,v 1.13 2005/03/08 23:31:53 cloder Exp $"; #endif #endif /* not lint */ @@ -259,7 +259,7 @@ main(int argc, char *argv[]) cfilename = argv[i]; f = fopen(cfilename, "r"); if (f == NULL) - warn(cfilename); + warn("%s", cfilename); else process(f); } |