From ff1f6545dba0cc2e8c9561cf10de236579d6f58c Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 15 May 2008 15:50:48 +1000 Subject: Fix support for --update=swapsuper The user of dup_super broke it. --- super0.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'super0.c') diff --git a/super0.c b/super0.c index f2d6d63..7e81482 100644 --- a/super0.c +++ b/super0.c @@ -856,7 +856,8 @@ static struct supertype *match_metadata_desc0(char *arg) return st; st->minor_version = 9; /* flag for 'byte-swapped' */ - if (strcmp(arg, "0.swap")==0) + if (strcmp(arg, "0.swap")==0 || + strcmp(arg, "0.9") == 0) /* For dup_super support */ return st; free(st); -- cgit