diff options
| author | Alexander Leidinger <netchild@FreeBSD.org> | 2007-01-14 16:07:01 +0000 |
|---|---|---|
| committer | Alexander Leidinger <netchild@FreeBSD.org> | 2007-01-14 16:07:01 +0000 |
| commit | 31becc7692e33adeb1b69fcef32d6bb9e706ac2b (patch) | |
| tree | 9097cf72ba020339417787ce293b32d53e0467ee | |
| parent | 85cc83bafba12413efb63273f8bf3b83d3189164 (diff) | |
Notes
| -rw-r--r-- | sys/compat/linux/linux_mib.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_mib.c b/sys/compat/linux/linux_mib.c index ac5774e6f7b6..095b5ee67118 100644 --- a/sys/compat/linux/linux_mib.c +++ b/sys/compat/linux/linux_mib.c @@ -233,7 +233,7 @@ linux_use26(struct thread *td) { struct prison *pr; struct linux_prison *lpr; - int use26 = 0; /* defaults to off */ + int use26 = linux_use_linux26; pr = td->td_ucred->cr_prison; if (pr != NULL) { @@ -241,8 +241,7 @@ linux_use26(struct thread *td) lpr = (struct linux_prison *)pr->pr_linux; use26 = lpr->pr_use_linux26; } - } else - use26 = linux_use_linux26; + } return (use26); } |
