commit 53ddce863197952bbc45678c319647357ba002d2
Author: phantomjinx <p.g.richard...@phantomjinx.co.uk>
Date:   Mon May 2 11:17:51 2011 +0100

    Correction to formatting strings in gtkpod_log_error
    
    * Thanks to Götzg (goetz.waschk AT gmail.com) for the patch

 libgtkpod/gp_private.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgtkpod/gp_private.c b/libgtkpod/gp_private.c
index 959b9a5..fc05b20 100644
--- a/libgtkpod/gp_private.c
+++ b/libgtkpod/gp_private.c
@@ -125,5 +125,5 @@ void gtkpod_log_error(GError **error, gchar *msg) {
     g_set_error (error,
                 GTKPOD_GENERAL_ERROR,                       /* error domain */
                 GTKPOD_GENERAL_ERROR_FAILED,               /* error code */
-                msg);
+                "%s", msg);
 }

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to