diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-26 01:12:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-26 01:12:28 +0000 |
commit | 49cb06718a64ba682f382a7baa03c5d232aa1faf (patch) | |
tree | e33a5c464f1c73d6bea497cf0578376e569d0509 /sys | |
parent | e6aebd0476238c26bdfe4ac727486be4a321df00 (diff) |
... oh and let it work for all cases
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arm/arm/arm32_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm/arm/arm32_machdep.c b/sys/arch/arm/arm/arm32_machdep.c index 06009de6050..92ac339ce6e 100644 --- a/sys/arch/arm/arm/arm32_machdep.c +++ b/sys/arch/arm/arm/arm32_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arm32_machdep.c,v 1.12 2005/04/26 01:09:00 deraadt Exp $ */ +/* $OpenBSD: arm32_machdep.c,v 1.13 2005/04/26 01:12:27 deraadt Exp $ */ /* $NetBSD: arm32_machdep.c,v 1.42 2003/12/30 12:33:15 pk Exp $ */ /* @@ -483,11 +483,11 @@ cpu_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p) #endif /* NZTS > 0 */ case CPU_ZTSSCALE: { + int err = EINVAL; +#if NZTS > 0 struct ztsscale *p = newp; struct ztsscale ts; int s; -#if NZTS > 0 - int err = EINVAL; if (!newp && newlen == 0) return (sysctl_struct(oldp, oldlenp, 0, 0, |