Fix typo. Reported by martin.

This commit is contained in:
cube 2007-03-20 08:12:42 +00:00
parent a23808d635
commit 35a0a309fb

View File

@ -1,4 +1,4 @@
/* $NetBSD: netbsd32_compat_14.c,v 1.17 2007/03/18 21:38:33 dsl Exp $ */
/* $NetBSD: netbsd32_compat_14.c,v 1.18 2007/03/20 08:12:42 cube Exp $ */
/*
* Copyright (c) 1999 Eduardo E. Horvath
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_14.c,v 1.17 2007/03/18 21:38:33 dsl Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_14.c,v 1.18 2007/03/20 08:12:42 cube Exp $");
#include <sys/param.h>
#include <sys/ipc.h>
@ -241,8 +241,8 @@ compat_14_netbsd32_msgctl(l, v, retval)
cmd = SCARG(uap, cmd);
if (cmd == IPC_SET) {
error = copyin(SCARG_P32(uap, buf)),
&omsqbuf, sizeof(omsqbuf);
error = copyin(SCARG_P32(uap, buf),
&omsqbuf, sizeof(omsqbuf));
if (error)
return (error);
netbsd32_msqid_ds14_to_native(&omsqbuf, &msqbuf);