diff --git a/criu/pie/restorer.c b/criu/pie/restorer.c index ab0c0d713..69f8504e3 100644 --- a/criu/pie/restorer.c +++ b/criu/pie/restorer.c @@ -1577,7 +1577,7 @@ long __export_restore_task(struct task_restore_args *args) sys_lseek(fd, 0, SEEK_SET); ret = sys_write(fd, s, last_pid_len); if (ret < 0) { - pr_err("Can't set last_pid %ld/%s\n", ret, last_pid_buf); + pr_err("Can't set last_pid %ld/%s\n", ret, s); mutex_unlock(&task_entries_local->last_pid_mutex); sys_close(fd); goto core_restore_end;