diff options
Diffstat (limited to 'src/nspawn/nspawn.c')
-rw-r--r-- | src/nspawn/nspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index b494045b88..ab7a239ed5 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -284,9 +284,9 @@ static int mount_all(const char *dest) { unsigned k; int r = 0; - char _cleanup_free_ *where = NULL; for (k = 0; k < ELEMENTSOF(mount_table); k++) { + char _cleanup_free_ *where = NULL; int t; if (asprintf(&where, "%s/%s", dest, mount_table[k].where) < 0) { |