--- checkpoint/process.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/checkpoint/process.c b/checkpoint/process.c index b7f4a43..41c1c85 100644 --- a/checkpoint/process.c +++ b/checkpoint/process.c @@ -308,7 +308,7 @@ int checkpoint_restart_block(struct ckpt_ctx *ctx, struct task_struct *t) #ifdef CONFIG_COMPAT } else if (fn == compat_nanosleep_restart) { - h->function_type = CKPT_RESTART_BLOCK_NANOSLEEP; + h->function_type = CKPT_RESTART_BLOCK_COMPAT_NANOSLEEP; h->arg_0 = restart_block->nanosleep.index; h->arg_1 = (unsigned long)restart_block->nanosleep.rmtp; h->arg_2 = (unsigned long)restart_block->nanosleep.compat_rmtp; @@ -670,7 +670,7 @@ int restore_restart_block(struct ckpt_ctx *ctx) restart_block.nanosleep.compat_rmtp = (struct compat_timespec __user *) (unsigned long) h->arg_2; - resatrt_block.nanosleep.expires = expire; + restart_block.nanosleep.expires = expire; break; case CKPT_RESTART_BLOCK_COMPAT_CLOCK_NANOSLEEP: clockid = h->arg_0; @@ -683,7 +683,7 @@ int restore_restart_block(struct ckpt_ctx *ctx) restart_block.nanosleep.compat_rmtp = (struct compat_timespec __user *) (unsigned long) h->arg_2; - resatrt_block.nanosleep.expires = expire; + restart_block.nanosleep.expires = expire; break; #endif case CKPT_RESTART_BLOCK_FUTEX: -- 1.6.0.6 _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers