summaryrefslogtreecommitdiff
path: root/usr.sbin/mtree/misc.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-09 18:54:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-09 18:54:20 +0000
commit41fe15c4d303bc22860684fa1e7da66107679bc4 (patch)
tree2e02fe03e7da398870917db0d4b28f7a74089f43 /usr.sbin/mtree/misc.c
parentd3a35323c0d4a2065db2b85a6170e2e9e5992bb7 (diff)
Rename the new 'preserve' flag to 'nochange' for consistency with FreeBSD.
The old 'preserve' name is still accepted but is not documented and will be removed in the future.
Diffstat (limited to 'usr.sbin/mtree/misc.c')
-rw-r--r--usr.sbin/mtree/misc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/mtree/misc.c b/usr.sbin/mtree/misc.c
index a8056c8de83..79618d0149f 100644
--- a/usr.sbin/mtree/misc.c
+++ b/usr.sbin/mtree/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.12 2002/03/04 19:56:39 millert Exp $ */
+/* $OpenBSD: misc.c,v 1.13 2002/03/09 18:54:19 millert Exp $ */
/* $NetBSD: misc.c,v 1.4 1995/03/07 21:26:23 cgd Exp $ */
/*-
@@ -65,8 +65,9 @@ static KEY keylist[] = {
{"md5digest", F_MD5, NEEDVALUE},
{"mode", F_MODE, NEEDVALUE},
{"nlink", F_NLINK, NEEDVALUE},
+ {"nochange", F_NOCHANGE, 0},
{"optional", F_OPT, 0},
- {"preserve", F_PRESERVE, 0},
+ {"preserve", F_NOCHANGE, 0},
{"rmd160digest",F_RMD160, NEEDVALUE},
{"sha1digest", F_SHA1, NEEDVALUE},
{"size", F_SIZE, NEEDVALUE},