printf(" %s", dv->dv_xname);
#endif
}
+#if NFD > 0
+ if (devpart == 0)
+ printf(" fdeject");
+#endif /* NFD */
printf("\n");
}
return (dv);
for (;;) {
printf("root device ");
if (bootdv != NULL)
- printf("(default %s%c)",
- bootdv->dv_xname,
- bootdv->dv_class == DV_DISK?'a':' ');
+ printf("(default %s%s)", bootdv->dv_xname,
+ bootdv->dv_class == DV_DISK?"a":"");
printf(": ");
len = getstr(buf, sizeof(buf));
#if NFD > 0
for (;;) {
printf("swap device ");
if (bootdv != NULL)
- printf("(default %s%c)",
- bootdv->dv_xname,
- bootdv->dv_class == DV_DISK?'b':' ');
+ printf("(default %s%s)", bootdv->dv_xname,
+ bootdv->dv_class == DV_DISK?"b":"");
printf(": ");
len = getstr(buf, sizeof(buf));
if (len == 0 && bootdv != NULL) {