Commit 681f2066 authored by Alex Russell's avatar Alex Russell Committed by Rusty Russell

lguest: fix typo

Signed-off-by: default avatarAlex Russell <giles.alex@hotmail.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent c0316a94
...@@ -225,7 +225,7 @@ int run_guest(struct lg_cpu *cpu, unsigned long __user *user) ...@@ -225,7 +225,7 @@ int run_guest(struct lg_cpu *cpu, unsigned long __user *user)
* eventfd (ie. the appropriate virtqueue thread)? * eventfd (ie. the appropriate virtqueue thread)?
*/ */
if (!send_notify_to_eventfd(cpu)) { if (!send_notify_to_eventfd(cpu)) {
/* OK, we tell the main Laucher. */ /* OK, we tell the main Launcher. */
if (put_user(cpu->pending_notify, user)) if (put_user(cpu->pending_notify, user))
return -EFAULT; return -EFAULT;
return sizeof(cpu->pending_notify); return sizeof(cpu->pending_notify);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment