Page MenuHomeFreeBSD

D38318.diff
No OneTemporary

D38318.diff

diff --git a/stand/kboot/hostdisk.c b/stand/kboot/hostdisk.c
--- a/stand/kboot/hostdisk.c
+++ b/stand/kboot/hostdisk.c
@@ -429,8 +429,10 @@
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

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 18, 1:36 PM (18 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15862194
Default Alt Text
D38318.diff (370 B)

Event Timeline