diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-02-19 12:03:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-02-19 12:03:12 +0100 |
commit | d15d65a01fe02fc66c3a9664fa9eab983f0f5024 (patch) | |
tree | a08a6627875adb363cf2e3b5fd6cea54d75c2ed1 /src | |
parent | 6dac160c0a5ba7a0f39db183e877ed8e85057234 (diff) |
nspawn: fix build on non-selinux systems
Diffstat (limited to 'src')
-rw-r--r-- | src/nspawn/nspawn.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 8a151f15ea..9967423dbc 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -872,10 +872,7 @@ static int mount_all(const char *dest) { int r = 0; for (k = 0; k < ELEMENTSOF(mount_table); k++) { - _cleanup_free_ char *where = NULL; -#ifdef HAVE_SELINUX - _cleanup_free_ char *options = NULL; -#endif + _cleanup_free_ char *where = NULL, *options = NULL; const char *o; int t; |