Page MenuHomeFreeBSD

D39984.diff
No OneTemporary

D39984.diff

diff --git a/stand/common/console.c b/stand/common/console.c
--- a/stand/common/console.c
+++ b/stand/common/console.c
@@ -238,7 +238,7 @@
if (*curpos != '\0') {
cons = cons_find(curpos);
if (cons == -1) {
- printf("console %s is invalid!\n", curpos);
+ printf("console %s is unavailable\n", curpos);
failed++;
} else {
found++;
@@ -251,7 +251,7 @@
if (found == 0)
printf("no valid consoles!\n");
- if (found == 0 || failed != 0) {
+ if (found == 0 && failed != 0) {
printf("Available consoles:\n");
for (cons = 0; consoles[cons] != NULL; cons++)
printf(" %s\n", consoles[cons]->c_name);

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 31, 11:25 PM (20 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16371705
Default Alt Text
D39984.diff (640 B)

Event Timeline