Module Name: src
Committed By: joerg
Date: Tue May 24 12:35:36 UTC 2011
Modified Files:
src/usr.bin/mkesdb: yacc.y
Log Message:
Properly use format string.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/mkesdb/yacc.y
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/mkesdb/yacc.y
diff -u src/usr.bin/mkesdb/yacc.y:1.4 src/usr.bin/mkesdb/yacc.y:1.5
--- src/usr.bin/mkesdb/yacc.y:1.4 Thu Jun 2 02:09:25 2005
+++ src/usr.bin/mkesdb/yacc.y Tue May 24 12:35:36 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: yacc.y,v 1.4 2005/06/02 02:09:25 lukem Exp $ */
+/* $NetBSD: yacc.y,v 1.5 2011/05/24 12:35:36 joerg Exp $ */
%{
/*-
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: yacc.y,v 1.4 2005/06/02 02:09:25 lukem Exp $");
+__RCSID("$NetBSD: yacc.y,v 1.5 2011/05/24 12:35:36 joerg Exp $");
#endif /* not lint */
#include <assert.h>
@@ -331,7 +331,7 @@
case 1:
in = fopen(argv[0], "r");
if (!in)
- err(EXIT_FAILURE, argv[0]);
+ err(EXIT_FAILURE, "%s", argv[0]);
break;
default:
usage();