summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfb <jfb@openbsd.org>2004-12-06 02:19:54 +0000
committerjfb <jfb@openbsd.org>2004-12-06 02:19:54 +0000
commit28eabd9cb389088ab5c8b831c79c02e02a34b771 (patch)
treee4bf024e03f3c4f4ed2e34fdab47baae4445496a
parentkill __P in proto; ok deraadt pvalchev (diff)
downloadwireguard-openbsd-28eabd9cb389088ab5c8b831c79c02e02a34b771.tar.xz
wireguard-openbsd-28eabd9cb389088ab5c8b831c79c02e02a34b771.zip
Pass the proper type for the third argument to cvs_sendreq()
-rw-r--r--usr.bin/cvs/add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/add.c b/usr.bin/cvs/add.c
index bd4f5b52760..d847076eb93 100644
--- a/usr.bin/cvs/add.c
+++ b/usr.bin/cvs/add.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: add.c,v 1.5 2004/11/09 20:59:07 krapht Exp $ */
+/* $OpenBSD: add.c,v 1.6 2004/12/06 02:19:54 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -122,7 +122,7 @@ cvs_add_file(CVSFILE *cf, void *arg)
root = CVS_DIR_ROOT(cf);
if (root->cr_method != CVS_METHOD_LOCAL) {
- cvs_sendreq(root, CVS_REQ_ISMODIFIED, cf->cf_name);
+ cvs_sendreq(root, CVS_REQ_ISMODIFIED, CVS_FILE_NAME(cf));
}
else {
cvs_log(LP_INFO, "scheduling file `%s' for addition",