]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - util.c
Detail: fix for an imsm container with a spare
[thirdparty/mdadm.git] / util.c
diff --git a/util.c b/util.c
index 2543971026656ac8afca07c30d3d2f983a4a55a0..4ccb1bbf9f07e122a99f1c349ad546516dea9c0e 100644 (file)
--- a/util.c
+++ b/util.c
@@ -863,6 +863,8 @@ void wait_for(char *dev, int fd)
                        return;
                usleep(200000);
        }
+       if (i == 25)
+               dprintf("%s: timeout waiting for %s\n", __func__, dev);
 }
 
 struct superswitch *superlist[] = { &super0, &super1, &super_ddf, &super_imsm, NULL };