Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/boot More cosmetic changes.
details: https://anonhg.NetBSD.org/src/rev/b9aa6b723b4c
branches: trunk
changeset: 582225:b9aa6b723b4c
user: junyoung <junyoung%NetBSD.org@localhost>
date: Tue Jun 21 14:16:27 2005 +0000
description:
More cosmetic changes.
diffstat:
sys/arch/i386/stand/boot/boot2.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 398a6efea299 -r b9aa6b723b4c sys/arch/i386/stand/boot/boot2.c
--- a/sys/arch/i386/stand/boot/boot2.c Tue Jun 21 14:13:40 2005 +0000
+++ b/sys/arch/i386/stand/boot/boot2.c Tue Jun 21 14:16:27 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boot2.c,v 1.8 2005/06/21 14:13:40 junyoung Exp $ */
+/* $NetBSD: boot2.c,v 1.9 2005/06/21 14:16:27 junyoung Exp $ */
/*
* Copyright (c) 2003
@@ -247,7 +247,7 @@
c = awaitkey(boot_params.bp_timeout, 1);
if ((c != '\r') && (c != '\n') && (c != '\0') &&
((boot_params.bp_flags & X86_BP_FLAGS_PASSWORD) == 0
- || check_password(boot_params.bp_password))) {
+ || check_password(boot_params.bp_password))) {
printf("type \"?\" or \"help\" for help.\n");
bootmenu(); /* does not return */
}
@@ -325,7 +325,7 @@
return;
}
- if (!strchr(arg, ':') ||
+ if (!strchr(arg, ':') != NULL ||
parsebootfile(arg, &fsname, &devname, &default_unit,
&default_partition, &file)) {
command_help(NULL);
@@ -339,7 +339,7 @@
static const struct cons_devs {
const char *name;
- u_int tag;
+ u_int tag;
} cons_devs[] = {
{ "pc", CONSDEV_PC },
{ "com0", CONSDEV_COM0 },
Home |
Main Index |
Thread Index |
Old Index