summaryrefslogtreecommitdiff
path: root/sys/compat/svr4/svr4_misc.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-12 06:22:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-12 06:22:52 +0000
commitd4669ec62f3f3b6ccf455582584a134946563ac1 (patch)
tree6b15aa98b035d8826588a8ec6992350acf9306fd /sys/compat/svr4/svr4_misc.c
parent8af85b1281c19b42d61420bfd2c1fa6c42d7448c (diff)
fix non-i386 case
Diffstat (limited to 'sys/compat/svr4/svr4_misc.c')
-rw-r--r--sys/compat/svr4/svr4_misc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c
index c9d7155fb26..74cc6a818b3 100644
--- a/sys/compat/svr4/svr4_misc.c
+++ b/sys/compat/svr4/svr4_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_misc.c,v 1.18 1997/12/02 00:07:04 deraadt Exp $ */
+/* $OpenBSD: svr4_misc.c,v 1.19 1997/12/12 06:22:51 deraadt Exp $ */
/* $NetBSD: svr4_misc.c,v 1.42 1996/12/06 03:22:34 christos Exp $ */
/*
@@ -1348,7 +1348,7 @@ svr4_sys_setegid(p, v, retval)
register_t *retval;
{
struct sys_setegid_args /* {
- syscallarg(gid_t) egid;
+ syscallarg(gid_t) egid;
} */ *uap = v;
#if defined(COMPAT_LINUX) && defined(i386)
@@ -1370,6 +1370,8 @@ svr4_sys_setegid(p, v, retval)
#endif
return (0);
}
+#else
+ (void) uap;
#endif
return sys_setegid(p, v, retval);
}