kboot: Fix hostdisk fmtdev
The device name was totally wrong. It should be "/dev/mumble:" not just "mumble". Sponsored by: Netflix Reviewed by: tsoome Differential Revision: https://reviews.freebsd.org/D38318
This commit is contained in:
parent
9fb276ea80
commit
81d71f94ca
@ -429,8 +429,10 @@ hostdisk_print(int verbose)
|
||||
static char *
|
||||
hostdisk_fmtdev(struct devdesc *vdev)
|
||||
{
|
||||
static char name[DEV_DEVLEN];
|
||||
|
||||
return ((char *)hd_name(dev2hd(vdev)));
|
||||
snprintf(name, sizeof(name), "%s:", dev2hd(vdev)->hd_dev);
|
||||
return (name);
|
||||
}
|
||||
|
||||
static bool
|
||||
|
Loading…
Reference in New Issue
Block a user