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 Just use '_bootversion', do...
details: https://anonhg.NetBSD.org/src/rev/73d912c1cc08
branches: trunk
changeset: 516055:73d912c1cc08
user: leo <leo%NetBSD.org@localhost>
date: Sun Oct 14 19:45:53 2001 +0000
description:
Just use '_bootversion', don't use C_LABEL macros. From RTSL, I found out
that kvm_nlist adds an underscore when the binary format is ELF.
diffstat:
sys/arch/atari/stand/installboot/installboot.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r d82f7da5d697 -r 73d912c1cc08 sys/arch/atari/stand/installboot/installboot.c
--- a/sys/arch/atari/stand/installboot/installboot.c Sun Oct 14 19:43:44 2001 +0000
+++ b/sys/arch/atari/stand/installboot/installboot.c Sun Oct 14 19:45:53 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: installboot.c,v 1.11 2001/09/06 06:24:17 leo Exp $ */
+/* $NetBSD: installboot.c,v 1.12 2001/10/14 19:45:53 leo Exp $ */
/*
* Copyright (c) 1995 Waldi Ravens
@@ -168,7 +168,7 @@
static void
oscheck ()
{
- struct nlist kbv[] = { { ___STRING(_C_LABEL(bootversion)) },
+ struct nlist kbv[] = { { "_bootversion" },
{ NULL } };
kvm_t *kd_kern;
char errbuf[_POSIX2_LINE_MAX];
Home |
Main Index |
Thread Index |
Old Index