aboutsummaryrefslogtreecommitdiff
path: root/stand/common/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'stand/common/disk.c')
-rw-r--r--stand/common/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/common/disk.c b/stand/common/disk.c
index 653f971d46b8..eecf519c52aa 100644
--- a/stand/common/disk.c
+++ b/stand/common/disk.c
@@ -420,7 +420,7 @@ disk_parsedev(struct devdesc **idev, const char *devspec, const char **path)
char *cp;
struct disk_devdesc *dev;
- np = devspec;
+ np = devspec + 4; /* Skip the leading 'disk' */
unit = -1;
/*
* If there is path/file info after the device info, then any missing