summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-09-05 19:45:43 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-09-05 19:45:43 +0000
commitbff65d5f39adc22144002ddca2879927e21d1a06 (patch)
tree84c21b5657087265150ecdd762882d90ad685050 /usr.bin
parenta4bfc5d76c3c09b0935506c3507fb35d25acbfb2 (diff)
add trace message (-t);
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/hist.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/hist.c b/usr.bin/cvs/hist.c
index 1ea5cda71f4..8e9e1909221 100644
--- a/usr.bin/cvs/hist.c
+++ b/usr.bin/cvs/hist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hist.c,v 1.10 2005/08/14 19:49:18 xsa Exp $ */
+/* $OpenBSD: hist.c,v 1.11 2005/09/05 19:45:42 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -75,6 +75,8 @@ cvs_hist_open(const char *path)
histp->chf_cindex = 0;
histp->chf_nbhent = 0;
+ cvs_log(LP_TRACE, "cvs_hist_open(%s)", path);
+
histp->chf_fd = open(path, O_RDONLY, 0);
if (histp->chf_fd == -1) {
cvs_log(LP_ERRNO,