diff options
Diffstat (limited to 'sys/kern/kern_jail.c')
-rw-r--r-- | sys/kern/kern_jail.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c index 93fdfa9..d419833 100644 --- a/sys/kern/kern_jail.c +++ b/sys/kern/kern_jail.c @@ -734,8 +734,8 @@ kern_jail_set(struct thread *td, struct uio *optuio, int flags) } } -#ifdef COMPAT_IA32 - if (td->td_proc->p_sysent->sv_flags & SV_IA32) { +#ifdef COMPAT_FREEBSD32 + if (td->td_proc->p_sysent->sv_flags & SV_ILP32) { uint32_t hid32; error = vfs_copyopt(opts, "host.hostid", &hid32, sizeof(hid32)); @@ -1961,8 +1961,8 @@ kern_jail_get(struct thread *td, struct uio *optuio, int flags) error = vfs_setopts(opts, "host.hostuuid", pr->pr_hostuuid); if (error != 0 && error != ENOENT) goto done_deref; -#ifdef COMPAT_IA32 - if (td->td_proc->p_sysent->sv_flags & SV_IA32) { +#ifdef COMPAT_FREEBSD32 + if (td->td_proc->p_sysent->sv_flags & SV_ILP32) { uint32_t hid32 = pr->pr_hostid; error = vfs_setopt(opts, "host.hostid", &hid32, sizeof(hid32)); |