summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-12-07 08:43:13 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-12-07 08:43:13 +0000
commit7421c13fa5fc11b769729e592488d6bad5a2bf62 (patch)
tree309f8178ca24d4695b84f8808a686d8287c91145 /usr.bin/cvs
parentd8dd8fd6025674c282de7ce9dfa66530d2c8a170 (diff)
add config file path in debug message.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/config.c b/usr.bin/cvs/config.c
index 6ab0011fc99..d413a25b162 100644
--- a/usr.bin/cvs/config.c
+++ b/usr.bin/cvs/config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.c,v 1.5 2006/12/04 09:51:21 xsa Exp $ */
+/* $OpenBSD: config.c,v 1.6 2006/12/07 08:43:12 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -31,12 +31,12 @@ cvs_parse_configfile(void)
const char *errstr;
char *p, *buf, *lbuf, *opt, *val, fpath[MAXPATHLEN];
- cvs_log(LP_TRACE, "cvs_parse_configfile()");
-
if (cvs_path_cat(current_cvsroot->cr_dir, CVS_PATH_CONFIG,
fpath, sizeof(fpath)) >= sizeof(fpath))
fatal("cvs_parse_configfile: truncation");
+ cvs_log(LP_TRACE, "cvs_parse_configfile(%s)", fpath);
+
if ((fp = fopen(fpath, "r")) == NULL)
fatal("cvs_config_parse: %s: %s",
CVS_PATH_CONFIG, strerror(errno));