aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Russell <giles.alex@hotmail.com>2012-10-16 09:26:13 -0400
committerRusty Russell <rusty@rustcorp.com.au>2012-12-17 23:49:06 -0500
commit681f206611aaec4fc8be93d609148e02c704b91d (patch)
treebc5b061b396c48874f890bda6fe32e8532891af0
parentc0316a945ae3df1a9c9d1fb44ac3eb47f16d9cd9 (diff)
lguest: fix typo
Signed-off-by: Alex Russell <giles.alex@hotmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--drivers/lguest/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/core.c b/drivers/lguest/core.c
index b5fdcb78a75b..a5ebc0083d87 100644
--- a/drivers/lguest/core.c
+++ b/drivers/lguest/core.c
@@ -225,7 +225,7 @@ int run_guest(struct lg_cpu *cpu, unsigned long __user *user)
225 * eventfd (ie. the appropriate virtqueue thread)? 225 * eventfd (ie. the appropriate virtqueue thread)?
226 */ 226 */
227 if (!send_notify_to_eventfd(cpu)) { 227 if (!send_notify_to_eventfd(cpu)) {
228 /* OK, we tell the main Laucher. */ 228 /* OK, we tell the main Launcher. */
229 if (put_user(cpu->pending_notify, user)) 229 if (put_user(cpu->pending_notify, user))
230 return -EFAULT; 230 return -EFAULT;
231 return sizeof(cpu->pending_notify); 231 return sizeof(cpu->pending_notify);