From aa209291091803efc23e07376be8d3737ca5c025 Mon Sep 17 00:00:00 2001 From: Antonio Huete Date: Mon, 19 Oct 2009 09:21:30 +0200 Subject: [PATCH] hammer: Reverse logic in MOPT_HAMMEROPTS Reported-by: Jan Lentfer Dragonfly-bug: http://bugs.dragonflybsd.org/issue1569 --- sbin/mount_hammer/mount_hammer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/mount_hammer/mount_hammer.c b/sbin/mount_hammer/mount_hammer.c index 006fb5aff2..44d6c60215 100644 --- a/sbin/mount_hammer/mount_hammer.c +++ b/sbin/mount_hammer/mount_hammer.c @@ -65,7 +65,7 @@ static void extract_volumes(ary_ptr_t *aryp, int *countp, char **av, int ac); #define MOPT_HAMMEROPTS \ { "history", 1, HMNT_NOHISTORY, 1 }, \ { "master=", 0, HMNT_MASTERID, 1 }, \ - { "nomirror", 0, HMNT_MASTERID, 1 } + { "mirror", 1, HMNT_MASTERID, 1 } static struct mntopt mopts[] = { MOPT_STDOPTS, MOPT_HAMMEROPTS, MOPT_UPDATE, MOPT_NULL }; -- 2.41.0