Module Name:    src
Committed By:   joerg
Date:           Tue May 24 12:35:01 UTC 2011

Modified Files:
        src/usr.bin/mkcsmapper: yacc.y

Log Message:
Properly use format string


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/mkcsmapper/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/mkcsmapper/yacc.y
diff -u src/usr.bin/mkcsmapper/yacc.y:1.7 src/usr.bin/mkcsmapper/yacc.y:1.8
--- src/usr.bin/mkcsmapper/yacc.y:1.7	Sat Sep  9 14:35:17 2006
+++ src/usr.bin/mkcsmapper/yacc.y	Tue May 24 12:35:01 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: yacc.y,v 1.7 2006/09/09 14:35:17 tnozaki Exp $	*/
+/*	$NetBSD: yacc.y,v 1.8 2011/05/24 12:35:01 joerg Exp $	*/
 
 %{
 /*-
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 #if !defined(lint)
-__RCSID("$NetBSD: yacc.y,v 1.7 2006/09/09 14:35:17 tnozaki Exp $");
+__RCSID("$NetBSD: yacc.y,v 1.8 2011/05/24 12:35:01 joerg Exp $");
 #endif /* not lint */
 
 #include <assert.h>
@@ -718,7 +718,7 @@
 	case 1:
 		in = fopen(argv[0], "r");
 		if (!in)
-			err(EXIT_FAILURE, argv[0]);
+			err(EXIT_FAILURE, "%s", argv[0]);
 		break;
 	default:
 		usage();

Reply via email to