summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/getlog.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-12-22 14:59:55 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-12-22 14:59:55 +0000
commit46bf6e957f3fbd4ffcde1a67ae1da0dc78048371 (patch)
treef1195a3b65b417caf190e0acb060c71dea705c87 /usr.bin/cvs/getlog.c
parente809134865897a94334bfe32ef4bbce49eee0522 (diff)
cvs_rcs_getpath() cannot fail anymore;
Diffstat (limited to 'usr.bin/cvs/getlog.c')
-rw-r--r--usr.bin/cvs/getlog.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/cvs/getlog.c b/usr.bin/cvs/getlog.c
index 6e68596a9fd..208e7839b90 100644
--- a/usr.bin/cvs/getlog.c
+++ b/usr.bin/cvs/getlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getlog.c,v 1.47 2005/11/03 15:57:40 xsa Exp $ */
+/* $OpenBSD: getlog.c,v 1.48 2005/12/22 14:59:54 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -228,8 +228,7 @@ cvs_getlog_local(CVSFILE *cf, void *arg)
return (0);
}
- if (cvs_rcs_getpath(cf, rcspath, sizeof(rcspath)) == NULL)
- return (CVS_EX_DATA);
+ cvs_rcs_getpath(cf, rcspath, sizeof(rcspath));
if (log_rfonly) {
cvs_printf("%s\n", rcspath);