Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/mkesdb fix error statement
details: https://anonhg.NetBSD.org/src/rev/cb616976c082
branches: trunk
changeset: 338916:cb616976c082
user: christos <christos%NetBSD.org@localhost>
date: Tue Jun 16 23:44:44 2015 +0000
description:
fix error statement
diffstat:
usr.bin/mkesdb/yacc.y | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 55542959a445 -r cb616976c082 usr.bin/mkesdb/yacc.y
--- a/usr.bin/mkesdb/yacc.y Tue Jun 16 23:42:08 2015 +0000
+++ b/usr.bin/mkesdb/yacc.y Tue Jun 16 23:44:44 2015 +0000
@@ -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 @@
if (ret && output)
unlink(output); /* dump failure */
if (ret)
- errc(EXIT_FAILURE, c, "");
+ errc(EXIT_FAILURE, ret, NULL);
}
__dead static void
Home |
Main Index |
Thread Index |
Old Index