go back to using file:line: from uwe.

This commit is contained in:
christos 2013-11-01 21:39:13 +00:00
parent 485097e69b
commit 6fce9f6ad7
2 changed files with 4 additions and 4 deletions

View File

@ -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 @@ cfcrosscheck(struct config *cf, const char *what, struct nvlist *nv)
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++;

View File

@ -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 @@ cfgvxmsg(const char *file, int line, const char *msgclass, const char *fmt,
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);
}