[Spice-commits] gtk/spice-session.c

Marc-André Lureau elmarco at kemper.freedesktop.org
Wed Dec 21 16:42:51 PST 2011


 gtk/spice-session.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8544a680f5baad9d21caeb44b809c0ade551c244
Author: Jani Välimaa <wally at mageia.org>
Date:   Thu Dec 22 01:41:52 2011 +0100

    build: string format fix
    
    https://bugs.freedesktop.org/show_bug.cgi?id=44019

diff --git a/gtk/spice-session.c b/gtk/spice-session.c
index 9432073..a2fa550 100644
--- a/gtk/spice-session.c
+++ b/gtk/spice-session.c
@@ -1402,7 +1402,7 @@ GSocket* spice_session_channel_open_host(SpiceSession *session, gboolean use_tls
         g_clear_error(&conn_error);
         sock = channel_connect_socket(sockaddr, &conn_error);
         if (conn_error != NULL)
-            g_warning(conn_error->message);
+            g_warning("%s", conn_error->message);
         g_object_unref(sockaddr);
     }
     g_object_unref(enumerator);


More information about the Spice-commits mailing list