summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--srcx/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/srcx/util.c b/srcx/util.c
index b0aeb07..d29a8fc 100644
--- a/srcx/util.c
+++ b/srcx/util.c
@@ -63,7 +63,7 @@ int translate_jail_name(const char* str)
struct xprison* xp = NULL;
size_t len, i;
char* e;
- int jid;
+ int jid = -1;
len = get_jail_sysctl(&xp);
if(len == 0)