[glib] gthread-posix: fix order of arguments in g_thread_abort() message



commit 98a70df48603c3c4fc63acb22a9bf6985bc0fa55
Author: Dan Winship <danw gnome org>
Date:   Wed Feb 22 11:38:43 2012 -0500

    gthread-posix: fix order of arguments in g_thread_abort() message

 glib/gthread-posix.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gthread-posix.c b/glib/gthread-posix.c
index 63b3313..9500709 100644
--- a/glib/gthread-posix.c
+++ b/glib/gthread-posix.c
@@ -72,7 +72,7 @@ g_thread_abort (gint         status,
                 const gchar *function)
 {
   fprintf (stderr, "GLib (gthread-posix.c): Unexpected error from C library during '%s': %s.  Aborting.\n",
-           strerror (status), function);
+           function, strerror (status));
   abort ();
 }
 



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