diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-03-15 16:48:48 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-15 16:49:08 +0100 |
commit | 9d60cb63d6e38236b2853b7801bb7784762b13ab (patch) | |
tree | d4ac9edfeab69e5e8b1db341b3ec0519b0838e2c | |
parent | bb27ff6672573727488b5b4826e27ac9cb8a2c94 (diff) |
nspawn: don't make assumptions about the size of pid_t
-rw-r--r-- | src/nspawn/nspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 1a3e41f403..9268cbc246 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -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]); |