Don't give up just because we cant find the blkdev that corresponds
to the name given as a chardev.
This commit is contained in:
parent
8c372bd8a2
commit
c85a5ef04c
@ -341,8 +341,9 @@ blockcheck(name)
|
||||
retried++;
|
||||
goto retry;
|
||||
}
|
||||
printf("Can't make sense out of name %s\n", name);
|
||||
return (0);
|
||||
printf("Warning: Can't find blockdevice corresponding to name %s\n",
|
||||
name);
|
||||
return (name);
|
||||
}
|
||||
|
||||
char *
|
||||
|
@ -341,8 +341,9 @@ blockcheck(name)
|
||||
retried++;
|
||||
goto retry;
|
||||
}
|
||||
printf("Can't make sense out of name %s\n", name);
|
||||
return (0);
|
||||
printf("Warning: Can't find blockdevice corresponding to name %s\n",
|
||||
name);
|
||||
return (name);
|
||||
}
|
||||
|
||||
char *
|
||||
|
@ -341,8 +341,9 @@ blockcheck(name)
|
||||
retried++;
|
||||
goto retry;
|
||||
}
|
||||
printf("Can't make sense out of name %s\n", name);
|
||||
return (0);
|
||||
printf("Warning: Can't find blockdevice corresponding to name %s\n",
|
||||
name);
|
||||
return (name);
|
||||
}
|
||||
|
||||
char *
|
||||
|
@ -341,8 +341,9 @@ blockcheck(name)
|
||||
retried++;
|
||||
goto retry;
|
||||
}
|
||||
printf("Can't make sense out of name %s\n", name);
|
||||
return (0);
|
||||
printf("Warning: Can't find blockdevice corresponding to name %s\n",
|
||||
name);
|
||||
return (name);
|
||||
}
|
||||
|
||||
char *
|
||||
|
Loading…
Reference in New Issue
Block a user