summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2004-12-15 16:28:15 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2004-12-15 16:28:15 +0000
commit67e381e976be40c0b831a57739b8ced8fc88055e (patch)
tree8b79ec5dddee6088fdf49616f6a83c78b0a39511 /usr.bin/cvs
parentf30fc62dc47943a1ff73a3c4b77b12cdbc376e2d (diff)
print line number of warnings in .cvsrc; ok jfb@.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/cvs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/cvs.c b/usr.bin/cvs/cvs.c
index 57cc7df5929..18124e3ceb4 100644
--- a/usr.bin/cvs/cvs.c
+++ b/usr.bin/cvs/cvs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cvs.c,v 1.24 2004/12/15 06:11:40 jfb Exp $ */
+/* $OpenBSD: cvs.c,v 1.25 2004/12/15 16:28:14 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -605,8 +605,8 @@ cvs_read_rcfile(void)
cmdp = cvs_findcmd(linebuf);
if (cmdp == NULL) {
cvs_log(LP_NOTICE,
- "unknown command `%s' in `%s'",
- linebuf, rcpath);
+ "unknown command `%s' in `%s:%d'",
+ linebuf, rcpath, linenum);
continue;
}