[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/5] console-client: fix error handling
From: |
Justus Winter |
Subject: |
[PATCH 5/5] console-client: fix error handling |
Date: |
Thu, 10 Oct 2013 18:08:22 +0200 |
Fix the error handling in console_move_mouse. This also appeases the
compiler.
* console-client/console.c (console_move_mouse): Fix error handing.
---
console-client/console.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/console-client/console.c b/console-client/console.c
index a105f5e..2fb2fbe 100644
--- a/console-client/console.c
+++ b/console-client/console.c
@@ -181,6 +181,7 @@ console_move_mouse (mouse_event_t ev)
{
err = cons_vcons_move_mouse (vcons, ev);
ports_port_deref (vcons);
+ return err;
}
return 0;
--
1.7.10.4