Be more verbose if we can't determine device major/minor.
This commit is contained in:
parent
cfa5673efd
commit
f1a98d56f2
@ -6,7 +6,7 @@
|
|||||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* $Id: create_chunk.c,v 1.27 1997/02/22 15:06:31 peter Exp $
|
* $Id: create_chunk.c,v 1.28 1998/01/16 12:50:36 jkh Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -262,6 +262,7 @@ MakeDev(struct chunk *c1, const char *path)
|
|||||||
else if (!strncmp(p, "da", 2)) /* CAM support */
|
else if (!strncmp(p, "da", 2)) /* CAM support */
|
||||||
bmaj = 4, cmaj = 13;
|
bmaj = 4, cmaj = 13;
|
||||||
else {
|
else {
|
||||||
|
msgDebug("MakeDev: Unknown major/minor for devtype %s\n", p);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
p += 2;
|
p += 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user