aboutsummaryrefslogtreecommitdiff
path: root/lib/lsm.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lsm.h')
-rw-r--r--lib/lsm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lsm.h b/lib/lsm.h
index e21d424b..ada54c98 100644
--- a/lib/lsm.h
+++ b/lib/lsm.h
@@ -55,7 +55,7 @@ static inline char *lsm_name(void)
static inline char *lsm_context(void)
{
int ok = 0;
- char *result;
+ char *result = 0;
if (CFG_TOYBOX_SMACK) ok = smack_new_label_from_self(&result) > 0;
else ok = getcon(&result) == 0;