Page MenuHomeFreeBSD

D38211.diff
No OneTemporary

D38211.diff

diff --git a/stand/common/disk.c b/stand/common/disk.c
--- a/stand/common/disk.c
+++ b/stand/common/disk.c
@@ -420,7 +420,10 @@
char *cp;
struct disk_devdesc *dev;
- np = devspec + 4; /* Skip the leading 'disk' */
+ if (strncmp(devspec, "md", 2) == 0)
+ np = devspec + 2; /* Skip the leading 'md' */
+ else
+ np = devspec + 4; /* Skip the leading 'disk' */
unit = -1;
/*
* If there is path/file info after the device info, then any missing

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 5:52 PM (21 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14701999
Default Alt Text
D38211.diff (456 B)

Event Timeline