|
@@ -725,7 +725,7 @@ asmlinkage int irix_getcontext(struct pt_regs *regs)
|
|
|
current->comm, current->pid, ctx);
|
|
|
#endif
|
|
|
|
|
|
- if (!access_ok(VERIFY_WRITE, ctx, sizeof(*ctx)));
|
|
|
+ if (!access_ok(VERIFY_WRITE, ctx, sizeof(*ctx)))
|
|
|
return -EFAULT;
|
|
|
|
|
|
error = __put_user(current->thread.irix_oldctx, &ctx->link);
|