diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2001-02-21 06:39:57 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2001-02-21 06:39:57 +0000 |
| commit | 91421ba234a918c8b8d1ed71c25a69c0009a8a12 (patch) | |
| tree | 62ed6a4e927ad5a5244e6886e043f1bb4f3feab9 /sys/miscfs | |
| parent | 666fd63da7d1db26cdaa7adc523c84d8d64226f8 (diff) | |
Notes
Diffstat (limited to 'sys/miscfs')
| -rw-r--r-- | sys/miscfs/procfs/procfs_status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/procfs/procfs_status.c b/sys/miscfs/procfs/procfs_status.c index 14c8fb4937af..7b2256cc3352 100644 --- a/sys/miscfs/procfs/procfs_status.c +++ b/sys/miscfs/procfs/procfs_status.c @@ -163,9 +163,9 @@ procfs_dostatus(curp, p, pfs, uio) DOCHECK(); } - if (p->p_prison) + if (jailed(p->p_ucred)) ps += snprintf(ps, psbuf + sizeof(psbuf) - ps, - " %s", p->p_prison->pr_host); + " %s", p->p_ucred->cr_prison->pr_host); else ps += snprintf(ps, psbuf + sizeof(psbuf) - ps, " -"); DOCHECK(); |
