gthread-posix: fix typo in error message
authorAntoine Jacoutot <ajacoutot@gnome.org>
Sat, 31 Mar 2012 20:48:42 +0000 (22:48 +0200)
committerAntoine Jacoutot <ajacoutot@gnome.org>
Sat, 31 Mar 2012 20:48:42 +0000 (22:48 +0200)
glib/gthread-posix.c

index 9500709c0c13f1b90d41d00f8e6e76bfebf01777..3f74aa4de6484c8273899edea2bc6d43c9d53f99 100644 (file)
@@ -225,7 +225,7 @@ g_mutex_unlock (GMutex *mutex)
   gint status;
 
   if G_UNLIKELY ((status = pthread_mutex_unlock (g_mutex_get_impl (mutex))) != 0)
-    g_thread_abort (status, "pthread_mutex_lock");
+    g_thread_abort (status, "pthread_mutex_unlock");
 }
 
 /**