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 printf statement
details: https://anonhg.NetBSD.org/src/rev/55542959a445
branches: trunk
changeset: 338915:55542959a445
user: christos <christos%NetBSD.org@localhost>
date: Tue Jun 16 23:42:08 2015 +0000
description:
fix printf statement
diffstat:
usr.bin/mkesdb/yacc.y | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r afbe7d17fdfb -r 55542959a445 usr.bin/mkesdb/yacc.y
--- a/usr.bin/mkesdb/yacc.y Tue Jun 16 23:18:54 2015 +0000
+++ b/usr.bin/mkesdb/yacc.y Tue Jun 16 23:42:08 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: yacc.y,v 1.7 2015/06/16 22:54:10 christos Exp $ */
+/* $NetBSD: yacc.y,v 1.8 2015/06/16 23:42:08 christos Exp $ */
%{
/*-
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: yacc.y,v 1.7 2015/06/16 22:54:10 christos Exp $");
+__RCSID("$NetBSD: yacc.y,v 1.8 2015/06/16 23:42:08 christos Exp $");
#endif /* not lint */
#include <assert.h>
@@ -290,7 +290,8 @@
__dead static void
usage(void)
{
- fprintf("Usage: %s [-m] [-o outfile] [infile]\n", getprogname());
+ fprintf(stderr, "Usage: %s [-m] [-o outfile] [infile]\n",
+ getprogname());
exit(EXIT_FAILURE);
}
Home |
Main Index |
Thread Index |
Old Index