diff options
Diffstat (limited to 'src/shared/label.c')
-rw-r--r-- | src/shared/label.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/label.c b/src/shared/label.c index 02b41f02d8..b6af38d82d 100644 --- a/src/shared/label.c +++ b/src/shared/label.c @@ -252,9 +252,10 @@ fail: int label_get_our_label(char **label) { int r = -EOPNOTSUPP; - char *l = NULL; #ifdef HAVE_SELINUX + char *l = NULL; + r = getcon(&l); if (r < 0) return r; |