summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-07-17 11:48:03 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-07-17 11:48:39 +0200
commit3496b9eeafa50234371da1642dca424e4ca0e5f4 (patch)
treede9fd065ed79bb5e795870f01aa5183377fc67ad
parenta47d1dfd0823cd3978dd10e217dadcee7e01b265 (diff)
nspawn: fix barrier-destroy call
I dropped the cleanup-helper before pushing so use _cleanup_() directly.
-rw-r--r--src/nspawn/nspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index e75cc28074..657512d661 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -3073,7 +3073,7 @@ int main(int argc, char *argv[]) {
for (;;) {
ContainerStatus container_status;
- _barrier_destroy_ Barrier barrier = { };
+ _cleanup_(barrier_destroy) Barrier barrier = { };
struct sigaction sa = {
.sa_handler = nop_handler,
.sa_flags = SA_NOCLDSTOP,