summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxsa <xsa@openbsd.org>2005-09-05 19:45:42 +0000
committerxsa <xsa@openbsd.org>2005-09-05 19:45:42 +0000
commiteac4fbe4c38cde74892078f20bc8182fc581bdbe (patch)
treea84d5a9f8363b8020db2ed0db3fbfc937afcaa08
parentuse CVS_ENT_MAXLINELEN; (diff)
downloadwireguard-openbsd-eac4fbe4c38cde74892078f20bc8182fc581bdbe.tar.xz
wireguard-openbsd-eac4fbe4c38cde74892078f20bc8182fc581bdbe.zip
add trace message (-t);
-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,