summaryrefslogtreecommitdiff
path: root/src/nspawn
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-15 16:48:48 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-15 16:49:08 +0100
commit9d60cb63d6e38236b2853b7801bb7784762b13ab (patch)
treed4ac9edfeab69e5e8b1db341b3ec0519b0838e2c /src/nspawn
parentbb27ff6672573727488b5b4826e27ac9cb8a2c94 (diff)
nspawn: don't make assumptions about the size of pid_t
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn.c2
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]);