summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-05-18 23:28:52 +0000
committerStef Walter <stef@memberwebs.com>2004-05-18 23:28:52 +0000
commit8339cb1069fd5b4810706d9f1ff1bb73dce85a2f (patch)
tree110473e9f27644d8ca560a3ce71867a8d98f4c2c
parent2d0de072dd7dd22bb5499272c70beb1d719ee6a2 (diff)
Fixed uninitialized variable
-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)