From: dlezcano Date: Wed, 26 Nov 2008 17:08:00 +0000 (+0000) Subject: Remove annoying compilation message X-Git-Tag: lxc_0_5_0~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6b2670f6c31e2e257621291d56a41adfdef5a09;p=thirdparty%2Flxc.git Remove annoying compilation message From: Daniel Lezcano Remove annoying compilation message Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/cr_plugin_columbia.c b/src/lxc/cr_plugin_columbia.c index 8345e7b3e..bf2aa7de1 100644 --- a/src/lxc/cr_plugin_columbia.c +++ b/src/lxc/cr_plugin_columbia.c @@ -76,8 +76,7 @@ static inline long sys_restart(pid_t pid, int fd, unsigned long flags) #endif -int lxc_plugin_checkpoint(pid_t pid, const char *statefile, - unsigned long flags) +int lxc_plugin_checkpoint(pid_t pid, const char *statefile, unsigned long flags) { int fd, ret; @@ -89,7 +88,7 @@ int lxc_plugin_checkpoint(pid_t pid, const char *statefile, ret = sys_checkpoint(pid, fd, flags); if (ret < 0) { - lxc_log_syserror("failed to checkpoint %zd", pid); + lxc_log_syserror("failed to checkpoint %d", pid); goto out_close; } @@ -100,8 +99,7 @@ out_close: return ret; } -int lxc_plugin_restart(pid_t pid, const char *statefile, - unsigned long flags) +int lxc_plugin_restart(pid_t pid, const char *statefile, unsigned long flags) { int fd; @@ -112,7 +110,7 @@ int lxc_plugin_restart(pid_t pid, const char *statefile, } sys_restart(pid, fd, flags); - lxc_log_syserror("failed to restart %zd", pid); + lxc_log_syserror("failed to restart %d", pid); close(fd); return -1; }