print warnings about unrecognized boot flags. accept S/s as recognized,

even though they're redundant.
This commit is contained in:
cgd 1997-02-03 20:02:02 +00:00
parent a34fffe676
commit ae8e8e7f6b

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.64 1997/01/31 01:41:37 thorpej Exp $ */
/* $NetBSD: machdep.c,v 1.65 1997/02/03 20:02:02 cgd Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@ -565,6 +565,15 @@ unknown_cputype:
case 'N':
boothowto |= RB_ASKNAME;
break;
case 's': /* single-user (default, supported for sanity) */
case 'S':
boothowto |= RB_SINGLE;
break;
default:
printf("Unrecognized boot flag '%c'.\n", *p);
break;
}
}