summaryrefslogtreecommitdiff
path: root/srcx/jps.c
diff options
context:
space:
mode:
Diffstat (limited to 'srcx/jps.c')
-rw-r--r--srcx/jps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/srcx/jps.c b/srcx/jps.c
index 85f7184..8a27015 100644
--- a/srcx/jps.c
+++ b/srcx/jps.c
@@ -111,7 +111,7 @@ int main(int argc, char* argv[])
free_jail_sysctl(len, sxp);
/* Go into the jail */
- if(jail_attach(xp->pr_id) == -1)
+ if(jail_attach(jid) == -1)
err(1, "couldn't attach to jail");
if(simple)