Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config go back to using file:line: from uwe.
details: https://anonhg.NetBSD.org/src/rev/0b5b23d23f52
branches: trunk
changeset: 791049:0b5b23d23f52
user: christos <christos%NetBSD.org@localhost>
date: Fri Nov 01 21:39:13 2013 +0000
description:
go back to using file:line: from uwe.
diffstat:
usr.bin/config/main.c | 4 ++--
usr.bin/config/util.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 0be349325804 -r 0b5b23d23f52 usr.bin/config/main.c
--- a/usr.bin/config/main.c Fri Nov 01 18:41:06 2013 +0000
+++ b/usr.bin/config/main.c Fri Nov 01 21:39:13 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.50 2013/11/01 17:09:59 christos Exp $ */
+/* $NetBSD: main.c,v 1.51 2013/11/01 21:39:13 christos Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -1172,7 +1172,7 @@
goto loop;
}
(void)fprintf(stderr,
- "%s,%d: %s says %s on %s, but there's no %s\n",
+ "%s:%d: %s says %s on %s, but there's no %s\n",
conffile, cf->cf_lineno,
cf->cf_name, what, nv->nv_str, nv->nv_str);
errs++;
diff -r 0be349325804 -r 0b5b23d23f52 usr.bin/config/util.c
--- a/usr.bin/config/util.c Fri Nov 01 18:41:06 2013 +0000
+++ b/usr.bin/config/util.c Fri Nov 01 21:39:13 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: util.c,v 1.15 2013/11/01 17:09:59 christos Exp $ */
+/* $NetBSD: util.c,v 1.16 2013/11/01 21:39:13 christos Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -504,7 +504,7 @@
va_list ap)
{
- (void)fprintf(stderr, "%s,%d: %s", file, line, msgclass);
+ (void)fprintf(stderr, "%s:%d: %s", file, line, msgclass);
(void)vfprintf(stderr, fmt, ap);
(void)putc('\n', stderr);
}
Home |
Main Index |
Thread Index |
Old Index