Page MenuHomeFreeBSD

D35916.id108512.diff
No OneTemporary

D35916.id108512.diff

Index: stand/libsa/dev.c
===================================================================
--- stand/libsa/dev.c
+++ 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)
+ 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
Wed, Dec 4, 7:16 AM (5 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15020114
Default Alt Text
D35916.id108512.diff (412 B)

Event Timeline