Page MenuHomeFreeBSD

D36606.diff
No OneTemporary

D36606.diff

diff --git a/stand/kboot/hostdisk.c b/stand/kboot/hostdisk.c
--- a/stand/kboot/hostdisk.c
+++ b/stand/kboot/hostdisk.c
@@ -127,6 +127,12 @@
static int
hostdisk_print(int verbose)
{
- return (0);
-}
+ char line[80];
+ printf("%s devices:", hostdisk.dv_name);
+ if (pager_output("\n") != 0)
+ return (1);
+
+ snprintf(line, sizeof(line), " /dev%d: Host disk\n", 0);
+ return (pager_output(line));
+}

File Metadata

Mime Type
text/plain
Expires
Mon, Sep 30, 6:24 AM (22 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13172196
Default Alt Text
D36606.diff (410 B)

Event Timeline