summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2015-10-06 16:51:15 +0000
committertedu <tedu@openbsd.org>2015-10-06 16:51:15 +0000
commit8294c0a40e025c877fbef324f18dce11034a3adc (patch)
tree8db5e7386ba53a58105c8a38af8fce951f24d994
parentupdate "cmsg" tests: it lost TAME_SELF flag. (diff)
downloadwireguard-openbsd-8294c0a40e025c877fbef324f18dce11034a3adc.tar.xz
wireguard-openbsd-8294c0a40e025c877fbef324f18dce11034a3adc.zip
we're running rm. call it rm too.
-rw-r--r--bin/mv/mv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mv/mv.c b/bin/mv/mv.c
index 4190f76e8be..1a5083e1942 100644
--- a/bin/mv/mv.c
+++ b/bin/mv/mv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mv.c,v 1.40 2015/08/24 00:10:59 guenther Exp $ */
+/* $OpenBSD: mv.c,v 1.41 2015/10/06 16:51:15 tedu Exp $ */
/* $NetBSD: mv.c,v 1.9 1995/03/21 09:06:52 cgd Exp $ */
/*
@@ -366,7 +366,7 @@ copy(char *from, char *to)
return (1);
}
if (!(pid = vfork())) {
- execl(_PATH_RM, "cp", "-rf", "--", from, (char *)NULL);
+ execl(_PATH_RM, "rm", "-rf", "--", from, (char *)NULL);
warn("%s", _PATH_RM);
_exit(1);
}