diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-06-23 00:55:56 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-06-23 00:55:56 +0000 |
commit | e2f7edfa11c12a52c8e6348a71eb2b7554dee7ab (patch) | |
tree | ad67e5f23e55ae8deb00dbe077277864b27b53d4 | |
parent | 772addc9855aa7d0db82bc57752bad6209a01829 (diff) |
ret should be there, wether auxreg/led is defined or not.
-rw-r--r-- | sys/arch/sparc/sparc/machdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c index 12d5111cc35..c85b92b58d1 100644 --- a/sys/arch/sparc/sparc/machdep.c +++ b/sys/arch/sparc/sparc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.49 2000/05/18 13:31:12 jason Exp $ */ +/* $OpenBSD: machdep.c,v 1.50 2000/06/23 00:55:55 fgsch Exp $ */ /* $NetBSD: machdep.c,v 1.85 1997/09/12 08:55:02 pk Exp $ */ /* @@ -546,8 +546,9 @@ cpu_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p) struct proc *p; { #if (NAUXREG > 0) || (NLED > 0) - int ret, oldval; + int oldval; #endif + int ret; /* all sysctl names are this level are terminal */ if (namelen != 1) |