Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/ofw Rename argument "bootspec" to avoid shadowi...
details: https://anonhg.NetBSD.org/src/rev/0103aa320fcd
branches: trunk
changeset: 951904:0103aa320fcd
user: martin <martin%NetBSD.org@localhost>
date: Sun Feb 07 13:59:36 2021 +0000
description:
Rename argument "bootspec" to avoid shadowing a global
diffstat:
sys/arch/arm/ofw/openfirm.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r cd06664bea6d -r 0103aa320fcd sys/arch/arm/ofw/openfirm.c
--- a/sys/arch/arm/ofw/openfirm.c Sun Feb 07 13:56:23 2021 +0000
+++ b/sys/arch/arm/ofw/openfirm.c Sun Feb 07 13:59:36 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: openfirm.c,v 1.10 2012/01/31 04:32:07 matt Exp $ */
+/* $NetBSD: openfirm.c,v 1.11 2021/02/07 13:59:36 martin Exp $ */
/*
* Copyright 1997
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: openfirm.c,v 1.10 2012/01/31 04:32:07 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: openfirm.c,v 1.11 2021/02/07 13:59:36 martin Exp $");
#include <sys/param.h>
@@ -647,7 +647,7 @@
}
void
-OF_boot(const char *bootspec)
+OF_boot(const char *btspec)
{
static struct {
const char *name;
@@ -660,7 +660,7 @@
0,
};
- args.bootspec = bootspec;
+ args.bootspec = btspec;
openfirmware(&args);
while (1); /* just in case */
}
Home |
Main Index |
Thread Index |
Old Index