diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-05-23 18:14:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-05-23 18:14:48 +0000 |
commit | dc727d8aee92f034d1767d9b1d2fb31f6be809e9 (patch) | |
tree | 044559f21ebb709ee78c22f2cf44f5a57ca27ff2 /sys | |
parent | 3a956440a320ef8e75035f0a3488d3b9b53561b9 (diff) |
repair typo of sizeof in copyin()
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/socppc/socppc/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/socppc/socppc/machdep.c b/sys/arch/socppc/socppc/machdep.c index bfb5509d91a..9ca13c52098 100644 --- a/sys/arch/socppc/socppc/machdep.c +++ b/sys/arch/socppc/socppc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.68 2016/05/21 00:56:44 deraadt Exp $ */ +/* $OpenBSD: machdep.c,v 1.69 2016/05/23 18:14:47 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -544,7 +544,7 @@ sys_sigreturn(struct proc *p, void *v, register_t *retval) return (EPERM); } - if ((error = copyin(scp, &ksc, sizeof sc))) + if ((error = copyin(scp, &ksc, sizeof ksc))) return error; if (ksc.sc_cookie != ((long)scp ^ p->p_p->ps_sigcookie)) { |