summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/file.c
diff options
context:
space:
mode:
authorxsa <xsa@openbsd.org>2005-07-27 10:36:13 +0000
committerxsa <xsa@openbsd.org>2005-07-27 10:36:13 +0000
commit506d2610a8f831b3e078edf48e66ebf9db367ddf (patch)
treef05dcaa14c903e95df369e0010e89885671fb4a3 /usr.bin/cvs/file.c
parentBack out 1.16. There are cases where we can recover from OF_mapintr (diff)
downloadwireguard-openbsd-506d2610a8f831b3e078edf48e66ebf9db367ddf.tar.xz
wireguard-openbsd-506d2610a8f831b3e078edf48e66ebf9db367ddf.zip
rename cvs_remove_dir() to cvs_rmdir() because it might be confusing
with the `remove' command local functions. ok joris@.
Diffstat (limited to 'usr.bin/cvs/file.c')
-rw-r--r--usr.bin/cvs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c
index c51f57e4be5..8284525b87a 100644
--- a/usr.bin/cvs/file.c
+++ b/usr.bin/cvs/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.105 2005/07/25 12:58:22 joris Exp $ */
+/* $OpenBSD: file.c,v 1.106 2005/07/27 10:36:14 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -1381,7 +1381,7 @@ cvs_file_prune(char *path)
empty = (empty == 0);
if (empty) {
- if (cvs_remove_dir(path) < 0) {
+ if (cvs_rmdir(path) < 0) {
cvs_log(LP_ERR, "failed to prune `%s'", path);
empty = 0;
}