mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-08-19 12:26:06 +00:00
typo: fix debug message
Signed-off-by: Gao feng <omarapazanadi@gmail.com>
This commit is contained in:
+5
-5
@@ -240,7 +240,7 @@ static int hyper_pod_init(void *data)
|
||||
}
|
||||
|
||||
if (hyper_send_type(arg->ctl_pipe[1], READY) < 0) {
|
||||
fprintf(stderr, "container init send ready message failed\n");
|
||||
fprintf(stderr, "pod init send ready message failed\n");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
@@ -297,7 +297,7 @@ static int hyper_setup_pod_init(struct hyper_pod *pod)
|
||||
|
||||
stack = malloc(stacksize);
|
||||
if (stack == NULL) {
|
||||
perror("fail to allocate stack for container init");
|
||||
perror("fail to allocate stack for pod init");
|
||||
goto out;
|
||||
}
|
||||
|
||||
@@ -306,14 +306,14 @@ static int hyper_setup_pod_init(struct hyper_pod *pod)
|
||||
init_pid = clone(hyper_pod_init, stack + stacksize, flags, &arg);
|
||||
free(stack);
|
||||
if (init_pid < 0) {
|
||||
perror("create container init process failed");
|
||||
perror("create pod init process failed");
|
||||
goto out;
|
||||
}
|
||||
fprintf(stdout, "pod init pid %d\n", init_pid);
|
||||
|
||||
/* Wait for container start */
|
||||
/* Wait for pod init start */
|
||||
if (hyper_get_type(arg.ctl_pipe[0], &type) < 0) {
|
||||
perror("get container init ready message failed");
|
||||
perror("get pod init ready message failed");
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user