aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/lxc/lxc_container.c')
-rw-r--r--src/lxc/lxc_container.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c
index 9830b71c2..af453f344 100644
--- a/src/lxc/lxc_container.c
+++ b/src/lxc/lxc_container.c
@@ -914,7 +914,8 @@ int lxcContainerStart(virDomainDefPtr def,
return pid;
}
-static int lxcContainerDummyChild(void *argv ATTRIBUTE_UNUSED)
+ATTRIBUTE_NORETURN static int
+lxcContainerDummyChild(void *argv ATTRIBUTE_UNUSED)
{
_exit(0);
}