Module Name:    src
Committed By:   christos
Date:           Tue Jun 16 23:44:44 UTC 2015

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

Log Message:
fix error statement


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 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.8 src/usr.bin/mkesdb/yacc.y:1.9
--- src/usr.bin/mkesdb/yacc.y:1.8	Tue Jun 16 19:42:08 2015
+++ src/usr.bin/mkesdb/yacc.y	Tue Jun 16 19:44:44 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: yacc.y,v 1.8 2015/06/16 23:42:08 christos Exp $	*/
+/*	$NetBSD: yacc.y,v 1.9 2015/06/16 23:44:44 christos Exp $	*/
 
 %{
 /*-
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 #if !defined(lint)
-__RCSID("$NetBSD: yacc.y,v 1.8 2015/06/16 23:42:08 christos Exp $");
+__RCSID("$NetBSD: yacc.y,v 1.9 2015/06/16 23:44:44 christos Exp $");
 #endif /* not lint */
 
 #include <assert.h>
@@ -284,7 +284,7 @@ do_mkdb(FILE *in)
 	if (ret && output)
 		unlink(output); /* dump failure */
 	if (ret)
-		errc(EXIT_FAILURE, c, "");
+		errc(EXIT_FAILURE, ret, NULL);
 }
 
 __dead static void

Reply via email to