diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-07-17 11:48:03 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-07-17 11:48:39 +0200 |
commit | 3496b9eeafa50234371da1642dca424e4ca0e5f4 (patch) | |
tree | de9fd065ed79bb5e795870f01aa5183377fc67ad /src/nspawn/nspawn.c | |
parent | a47d1dfd0823cd3978dd10e217dadcee7e01b265 (diff) |
nspawn: fix barrier-destroy call
I dropped the cleanup-helper before pushing so use _cleanup_() directly.
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 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, |