From f277ce367125882ea809f981172b8d5c0cc4d5c7 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 4 Aug 2005 04:41:12 +0000 Subject: Assorted Fixes for multiple bugs. Assemble would crash, or just not work. A few other problem found by a new test-suite. Signed-off-by: Neil Brown --- Assemble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assemble.c') diff --git a/Assemble.c b/Assemble.c index 89086e3..20183ae 100644 --- a/Assemble.c +++ b/Assemble.c @@ -219,7 +219,7 @@ int Assemble(struct supertype *st, char *mddev, int mdfd, } if (ident->uuid_set && - (!super || same_uuid(info.uuid, ident->uuid)==0)) { + (!super || same_uuid(info.uuid, ident->uuid, tst->ss->swapuuid)==0)) { if (inargv || verbose) fprintf(stderr, Name ": %s has wrong uuid.\n", devname); -- cgit