summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/getlog.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2004-12-14 20:19:38 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2004-12-14 20:19:38 +0000
commitf8d970d2a0ae01fc7b1adcfe3e17c0693dda3a2b (patch)
tree47e3172ba37c987a56392ea570e54d2c432f9e0d /usr.bin/cvs/getlog.c
parent4d9ee37d934f1ef39b5f023e9d0c70df20f9955a (diff)
fix path to RCS file; jfb@ ok.
Diffstat (limited to 'usr.bin/cvs/getlog.c')
-rw-r--r--usr.bin/cvs/getlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/getlog.c b/usr.bin/cvs/getlog.c
index db893c546d6..7e15c54347c 100644
--- a/usr.bin/cvs/getlog.c
+++ b/usr.bin/cvs/getlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getlog.c,v 1.10 2004/12/07 17:10:56 tedu Exp $ */
+/* $OpenBSD: getlog.c,v 1.11 2004/12/14 20:19:37 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -196,7 +196,7 @@ cvs_getlog_file(CVSFILE *cf, void *arg)
}
snprintf(fpath, sizeof(fpath), "%s/%s/%s%s",
- root->cr_dir, repo, fpath, RCS_FILE_EXT);
+ root->cr_dir, repo, CVS_FILE_NAME(cf), RCS_FILE_EXT);
rf = rcs_open(fpath, RCS_MODE_READ);
if (rf == NULL) {