Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax/stand/scsiboot Use ELFCLASS32 instead of ELFCL...



details:   https://anonhg.NetBSD.org/src/rev/fae5d5126373
branches:  trunk
changeset: 477665:fae5d5126373
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Oct 27 03:28:54 1999 +0000

description:
Use ELFCLASS32 instead of ELFCLASS.

diffstat:

 sys/arch/pmax/stand/scsiboot/bootxx.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 40116bd425f0 -r fae5d5126373 sys/arch/pmax/stand/scsiboot/bootxx.c
--- a/sys/arch/pmax/stand/scsiboot/bootxx.c     Wed Oct 27 02:22:21 1999 +0000
+++ b/sys/arch/pmax/stand/scsiboot/bootxx.c     Wed Oct 27 03:28:54 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootxx.c,v 1.20 1999/10/25 14:02:54 kleink Exp $       */
+/*     $NetBSD: bootxx.c,v 1.21 1999/10/27 03:28:54 simonb Exp $       */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -172,7 +172,7 @@
        i = read(fd, (char *)&ehdr, sizeof(ehdr));
        if ((i != sizeof(ehdr)) ||
            (bcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) ||
-           (ehdr.e_ident[EI_CLASS] != ELFCLASS)) {
+           (ehdr.e_ident[EI_CLASS] != ELFCLASS32)) {
                printf("%s: No ELF header\n", bootfname);
                goto cerr;
        }



Home | Main Index | Thread Index | Old Index