Page MenuHomeFreeBSD

D35916.diff
No OneTemporary

D35916.diff

diff --git a/stand/libsa/dev.c b/stand/libsa/dev.c
--- a/stand/libsa/dev.c
+++ b/stand/libsa/dev.c
@@ -56,3 +56,14 @@
{
return (EINVAL);
}
+
+char *
+devformat(struct devdesc *d)
+{
+ static char name[DEV_DEVLEN];
+
+ if (d->d_dev->dv_fmtdev != NULL)
+ return (d->d_dev->dv_fmtdev(d));
+ snprintf(name, sizeof(name), "%s%d:", d->d_dev->dv_name, d->d_unit);
+ return (name);
+}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 8:25 AM (21 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14673225
Default Alt Text
D35916.diff (383 B)

Event Timeline