From 16c6fa807c1e43a1a12bbeb7668b4166d14b2cc8 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Tue, 28 Mar 2006 06:26:53 +0000 Subject: Create missing /dev files where needed. Whenever we need a device file to open, if one cannot be found in /dev, create a temporary one. Signed-off-by: Neil Brown --- super0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'super0.c') diff --git a/super0.c b/super0.c index c7f2f61..a36b0a7 100644 --- a/super0.c +++ b/super0.c @@ -204,7 +204,7 @@ static void examine_super0(void *sbv) if (dp->state & (1<state == 0) printf(" spare"); - if ((dv=map_dev(dp->major, dp->minor))) + if ((dv=map_dev(dp->major, dp->minor, 0))) printf(" %s", dv); printf("\n"); if (d == -1) printf("\n"); -- cgit