]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Remove annoying compilation message
authordlezcano <dlezcano>
Wed, 26 Nov 2008 17:08:00 +0000 (17:08 +0000)
committerdlezcano <dlezcano>
Wed, 26 Nov 2008 17:08:00 +0000 (17:08 +0000)
From: Daniel Lezcano <dlezcano@fr.ibm.com>

Remove annoying compilation message

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/cr_plugin_columbia.c

index 8345e7b3ece0ddecf6cc82b5be4469a257ba205e..bf2aa7de1753764549b9571b1abd33a0c87488b6 100644 (file)
@@ -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;
 }