diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-14 13:26:26 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-14 13:26:26 +0000 |
commit | 549efd0a73be8864c68d6baea1c2a55f0c57b1c3 (patch) | |
tree | faae2f3b1fdf61a3c9e5332c7597e5027ca0d056 /sys/arch/sparc | |
parent | b0cc3f3395adf89e793558ec44f1b71ac813e9da (diff) |
show "fdeject" as a valid root filesystem choice
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/autoconf.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c index e78beb204bd..63a03f2309c 100644 --- a/sys/arch/sparc/sparc/autoconf.c +++ b/sys/arch/sparc/sparc/autoconf.c @@ -1437,6 +1437,10 @@ getdisk(str, len, defpart, devp) printf(" %s", dv->dv_xname); #endif } +#if NFD > 0 + if (devpart == 0) + printf(" fdeject"); +#endif /* NFD */ printf("\n"); } return (dv); @@ -1516,9 +1520,8 @@ setroot() 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 @@ -1565,9 +1568,8 @@ setroot() 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) { |