From: Lennart Poettering Date: Fri, 15 Mar 2013 15:48:48 +0000 (+0100) Subject: nspawn: don't make assumptions about the size of pid_t X-Git-Tag: v199~192 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9d60cb63d6e38236b2853b7801bb7784762b13ab;p=elogind.git nspawn: don't make assumptions about the size of pid_t --- diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 1a3e41f40..9268cbc24 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]);