summaryrefslogtreecommitdiff
path: root/srcx/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'srcx/util.c')
-rw-r--r--srcx/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/srcx/util.c b/srcx/util.c
index 137ca24..c406163 100644
--- a/srcx/util.c
+++ b/srcx/util.c
@@ -153,7 +153,7 @@ int translate_jail_name(const char* str)
len = get_jail_sysctl(&sxp);
if(sxp)
{
- xp = find_jail(str, sxp);
+ xp = find_jail(str, len, sxp);
if(xp != NULL)
jid = xp->pr_id;