summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-08-24 20:52:52 +0000
committerjhb <jhb@FreeBSD.org>2004-08-24 20:52:52 +0000
commit325fe79e0c5053d24ef961012976f2ea49319d9c (patch)
tree054a5ab552e2dba1a3a8bcb81ced66c56048dcf5 /sys/i386/linux
parentac08ecfc54b885d7c0599ea273d0e1659f8cd1ac (diff)
downloadFreeBSD-src-325fe79e0c5053d24ef961012976f2ea49319d9c.zip
FreeBSD-src-325fe79e0c5053d24ef961012976f2ea49319d9c.tar.gz
Correct the arguments to kern_sigaltstack() as they were reversed.
PR: kern/68079 Submitted by: Georg-W. Koltermann gwk at rahn-koltermann dot de
Diffstat (limited to 'sys/i386/linux')
-rw-r--r--sys/i386/linux/linux_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c
index 198cae2..724719a 100644
--- a/sys/i386/linux/linux_machdep.c
+++ b/sys/i386/linux/linux_machdep.c
@@ -800,8 +800,8 @@ linux_sigaltstack(struct thread *td, struct linux_sigaltstack_args *uap)
ss.ss_size = lss.ss_size;
ss.ss_flags = linux_to_bsd_sigaltstack(lss.ss_flags);
}
- error = kern_sigaltstack(td, (uap->uoss != NULL) ? &oss : NULL,
- (uap->uss != NULL) ? &ss : NULL);
+ error = kern_sigaltstack(td, (uap->uss != NULL) ? &ss : NULL,
+ (uap->uoss != NULL) ? &oss : NULL);
if (!error && uap->uoss != NULL) {
lss.ss_sp = oss.ss_sp;
lss.ss_size = oss.ss_size;
OpenPOWER on IntegriCloud