1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-12 13:18:14 +03:00

nspawn: don't make assumptions about the size of pid_t

This commit is contained in:
Lennart Poettering 2013-03-15 16:48:48 +01:00
parent bb27ff6672
commit 9d60cb63d6

View File

@ -1589,7 +1589,7 @@ int main(int argc, char *argv[]) {
_exit(EXIT_FAILURE); _exit(EXIT_FAILURE);
} }
log_info("Init process in the container running as PID %d", pid); log_info("Init process in the container running as PID %lu.", (unsigned long) pid);
close_nointr_nofail(pipefd[0]); close_nointr_nofail(pipefd[0]);
close_nointr_nofail(pipefd[1]); close_nointr_nofail(pipefd[1]);