]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Detail.c
Fix compile error in Detail.c
[thirdparty/mdadm.git] / Detail.c
index 0ed81d121fc9e01f39439f3faeb1d9301c835826..7e141636bcc9450d7b8e566081d7622a725fb0a9 100644 (file)
--- a/Detail.c
+++ b/Detail.c
@@ -377,12 +377,12 @@ This is pretty boring
 
        if (brief > 1 && devices) printf("\n   devices=%s", devices);
        if (brief) printf("\n");
-out:
        if (test &&
            !enough(array.level, array.raid_disks, array.layout,
                    1, avail, avail_disks))
                rv = 2;
 
+out:
        close(fd);
        return rv;
 }