Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/stand/installboot use _C_LABEL() for bootvers...



details:   https://anonhg.NetBSD.org/src/rev/fcd9afa1410e
branches:  trunk
changeset: 494570:fcd9afa1410e
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Jul 08 14:41:04 2000 +0000

description:
use _C_LABEL() for bootversion, instead of hardcoding the reference as _bootversion

diffstat:

 sys/arch/atari/stand/installboot/installboot.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5b45446715b0 -r fcd9afa1410e sys/arch/atari/stand/installboot/installboot.c
--- a/sys/arch/atari/stand/installboot/installboot.c    Sat Jul 08 14:17:46 2000 +0000
+++ b/sys/arch/atari/stand/installboot/installboot.c    Sat Jul 08 14:41:04 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: installboot.c,v 1.8 1998/12/01 15:30:01 leo Exp $      */
+/*     $NetBSD: installboot.c,v 1.9 2000/07/08 14:41:04 jdolecek Exp $ */
 
 /*
  * Copyright (c) 1995 Waldi Ravens
@@ -168,7 +168,7 @@
 static void
 oscheck ()
 {
-       struct nlist    kbv[] = { { "_bootversion" }, { NULL } };
+       struct nlist    kbv[] = { { _C_LABEL("bootversion") }, { NULL } };
        kvm_t           *kd_kern;
        char            errbuf[_POSIX2_LINE_MAX];
        u_short         kvers;



Home | Main Index | Thread Index | Old Index