#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;
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;
}
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;
}
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;
}