# HG changeset patch # Parent 364267c805e10988daad180c96a26a1a52d3fb31 diff -r 364267c805e1 -r dc16532f63b6 sys/compat/freebsd32/freebsd32_ioctl.c --- a/sys/compat/freebsd32/freebsd32_ioctl.c +++ b/sys/compat/freebsd32/freebsd32_ioctl.c @@ -129,7 +129,7 @@ freebsd32_ioctl_md(struct thread *td, st * Use MDNPAD, and not MDNPAD32. Padding is * allocated and used by compat32 ABI. */ - for (i = 0; i < MDNPAD; i++) + for (i = 0; i < MDNPAD32; i++) CP(mdv, md32, md_pad[i]); } error = copyout(&md32, uap->data, sizeof(md32));