1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +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);
}
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[1]);