diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2001-09-28 01:15:30 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2001-09-28 01:15:30 +0000 |
| commit | ac23cf236b6306e72128a91879f3f94c61f29a48 (patch) | |
| tree | 979383aa2af738bdf993633085409e317d61baf0 /sys/compat/linux/linux_ipc.c | |
| parent | e691dfc040d366ec5822a2360a08ec7a0853c8cd (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_ipc.c')
| -rw-r--r-- | sys/compat/linux/linux_ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_ipc.c b/sys/compat/linux/linux_ipc.c index a26871bc7448b..aa4deef641450 100644 --- a/sys/compat/linux/linux_ipc.c +++ b/sys/compat/linux/linux_ipc.c @@ -227,7 +227,7 @@ linux_semctl(struct thread *td, struct linux_semctl_args *args) /* Make sure the arg parameter can be copied in. */ unptr = stackgap_alloc(&sg, sizeof(union semun)); - bcopy(unptr, &args->arg, sizeof(union semun)); + bcopy(&args->arg, unptr, sizeof(union semun)); bsd_args.semid = args->semid; bsd_args.semnum = args->semnum; |
