summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2004-08-31 12:25:52 +0000
committerJoris Vink <joris@cvs.openbsd.org>2004-08-31 12:25:52 +0000
commit924f45516f06bfb54b690c4b181a0d4e42ad48c6 (patch)
tree1f4714c07af046b5d2c50064b2230fb9f279ed3c /usr.bin
parente86fc9f05c03fed90ac641d2d63242d7db9a1b4e (diff)
use the correct Entries path to store in cef_path;
ok jfb
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/entries.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/entries.c b/usr.bin/cvs/entries.c
index c8635a8868a..744c5e77b09 100644
--- a/usr.bin/cvs/entries.c
+++ b/usr.bin/cvs/entries.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: entries.c,v 1.16 2004/08/27 15:44:38 jfb Exp $ */
+/* $OpenBSD: entries.c,v 1.17 2004/08/31 12:25:51 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -99,7 +99,7 @@ cvs_ent_open(const char *dir, int flags)
}
memset(ep, 0, sizeof(*ep));
- ep->cef_path = strdup(dir);
+ ep->cef_path = strdup(entpath);
if (ep->cef_path == NULL) {
cvs_log(LP_ERRNO, "failed to copy Entries path");
free(ep);