bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/7] Fix double call to pthread_mutex_unlock in console_move_mous


From: Cyril Roelandt
Subject: [PATCH 1/7] Fix double call to pthread_mutex_unlock in console_move_mouse().
Date: Mon, 17 Dec 2012 00:51:24 +0100

* console-client/console.c (console_move_mouse): remove a redundant call to
pthread_mutex_unlock().

Signed-off-by: Cyril Roelandt <address@hidden>
---
 console-client/console.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/console-client/console.c b/console-client/console.c
index 806bec6..7c9a880 100644
--- a/console-client/console.c
+++ b/console-client/console.c
@@ -178,8 +178,6 @@ console_move_mouse (mouse_event_t ev)
       ports_port_deref (vcons);
     }
 
-  pthread_mutex_unlock (&global_lock);
-
   return 0;
 }
 
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]