]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
tests: Fix startone's call to want_daemonize
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 14 Jan 2014 22:35:14 +0000 (17:35 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 14 Jan 2014 22:35:14 +0000 (17:35 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/tests/startone.c

index 93992c1fc859608b08b4c0595549bb45cc00a3d6..aa607c7f197305f4755a470ad86e992d435c4557 100644 (file)
@@ -168,7 +168,7 @@ int main(int argc, char *argv[])
                fprintf(stderr, "%d: failed to get extra ref to container\n", __LINE__);
                exit(1);
        }
-       c->want_daemonize(false);
+       c->want_daemonize(c, false);
        pid_t pid = fork();
        if (pid < 0) {
                fprintf(stderr, "%d: fork failed\n", __LINE__);