summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-04-25 20:04:02 +0000
committerjhb <jhb@FreeBSD.org>2003-04-25 20:04:02 +0000
commitec7071fcb8d6fb89b513f3c1ffa17de488f4f379 (patch)
tree37c0cf5dc6d327c20fe2ece381a5a62c9f6bd619 /sys/alpha
parentdb5f78d397daf73f218b2c83c40210a3d502b6bf (diff)
downloadFreeBSD-src-ec7071fcb8d6fb89b513f3c1ffa17de488f4f379.zip
FreeBSD-src-ec7071fcb8d6fb89b513f3c1ffa17de488f4f379.tar.gz
- Push down Giant into the sysarch() calls that still need Giant.
- Standardize on EINVAL rather than EOPNOTSUPP if the sysarch op value is invalid.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/sys_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/alpha/sys_machdep.c b/sys/alpha/alpha/sys_machdep.c
index 224e7e4..cc213a3 100644
--- a/sys/alpha/alpha/sys_machdep.c
+++ b/sys/alpha/alpha/sys_machdep.c
@@ -77,7 +77,7 @@ sysarch(td, uap)
struct thread *td;
register struct sysarch_args *uap;
{
- int error = 0;
+ int error;
switch(uap->op) {
case ALPHA_SETHAE:
OpenPOWER on IntegriCloud