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/lib use LOAD_BACKWARDS instead of LOAD_N...



details:   https://anonhg.NetBSD.org/src/rev/8251c1c6c16a
branches:  trunk
changeset: 757329:8251c1c6c16a
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 25 16:32:51 2010 +0000

description:
use LOAD_BACKWARDS instead of LOAD_NOTE for floppy book.

diffstat:

 sys/arch/i386/stand/lib/exec.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bf9e29bce6b6 -r 8251c1c6c16a sys/arch/i386/stand/lib/exec.c
--- a/sys/arch/i386/stand/lib/exec.c    Wed Aug 25 16:30:44 2010 +0000
+++ b/sys/arch/i386/stand/lib/exec.c    Wed Aug 25 16:32:51 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec.c,v 1.43 2010/06/25 15:35:08 tsutsui Exp $         */
+/*     $NetBSD: exec.c,v 1.44 2010/08/25 16:32:51 christos Exp $        */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -228,7 +228,7 @@
 #endif
        marks[MARK_START] = loadaddr;
        if ((fd = loadfile(file, marks,
-           LOAD_KERNEL & ~(floppy ? LOAD_NOTE : 0))) == -1)
+           LOAD_KERNEL & ~(floppy ? LOAD_BACKWARDS : 0))) == -1)
                return EIO;
 
        close(fd);



Home | Main Index | Thread Index | Old Index