Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sgimips/stand/common loadfile truth check should be...



details:   https://anonhg.NetBSD.org/src/rev/88ab06ffe7f7
branches:  trunk
changeset: 555282:88ab06ffe7f7
user:      sekiya <sekiya%NetBSD.org@localhost>
date:      Thu Nov 13 08:06:25 2003 +0000

description:
loadfile truth check should be >=0, not >= 1.

diffstat:

 sys/arch/sgimips/stand/common/boot.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2b6a1ea47674 -r 88ab06ffe7f7 sys/arch/sgimips/stand/common/boot.c
--- a/sys/arch/sgimips/stand/common/boot.c      Thu Nov 13 08:03:03 2003 +0000
+++ b/sys/arch/sgimips/stand/common/boot.c      Thu Nov 13 08:06:25 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: boot.c,v 1.6 2003/11/13 08:01:17 sekiya Exp $  */
+/*     $NetBSD: boot.c,v 1.7 2003/11/13 08:06:25 sekiya Exp $  */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -176,7 +176,7 @@
                        sprintf( (strrchr(bootfile, ')') + 1), "netbsd-INSTALL32_IP3x");
                else
                        sprintf( (strrchr(bootfile, ')') + 1), "netbsd-INSTALL32_IP2x");
-               if ( (loadfile(bootfile, marks, LOAD_KERNEL)) >=1 )
+               if ( (loadfile(bootfile, marks, LOAD_KERNEL)) >= 0 )
                        goto finish;
        }
 



Home | Main Index | Thread Index | Old Index