Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dev/dtrace/i386 fix a shadow variable wa...
details: https://anonhg.NetBSD.org/src/rev/beec18d6df37
branches: trunk
changeset: 769430:beec18d6df37
user: christos <christos%NetBSD.org@localhost>
date: Fri Sep 09 17:48:39 2011 +0000
description:
fix a shadow variable warning.
diffstat:
external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 51cb94b4f876 -r beec18d6df37 external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c
--- a/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c Fri Sep 09 16:24:44 2011 +0000
+++ b/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c Fri Sep 09 17:48:39 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dtrace_subr.c,v 1.5 2010/04/23 11:39:53 ahoka Exp $ */
+/* $NetBSD: dtrace_subr.c,v 1.6 2011/09/09 17:48:39 christos Exp $ */
/*
* CDDL HEADER START
@@ -131,11 +131,11 @@
}
void
-dtrace_xcall(processorid_t cpu, dtrace_xcall_t func, void *arg)
+dtrace_xcall(processorid_t xcpu, dtrace_xcall_t func, void *arg)
{
uint64_t where;
- if (cpu == DTRACE_CPUALL) {
+ if (xcpu == DTRACE_CPUALL) {
where = xc_broadcast(0, xcall_func, func, arg);
} else {
struct cpu_info *cinfo = cpu_lookup(cpu);
Home |
Main Index |
Thread Index |
Old Index