[easytag] Fix printf format string warning



commit a58b943a71fba1168393182143b70cb9de830ed2
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Tue Sep 30 09:18:48 2014 +0800

    Fix printf format string warning
    
    https://bugzilla.gnome.org/show_bug.cgi?id=737633

 src/tags/id3_tag.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tags/id3_tag.c b/src/tags/id3_tag.c
index e986471..059f7b5 100644
--- a/src/tags/id3_tag.c
+++ b/src/tags/id3_tag.c
@@ -225,7 +225,7 @@ id3tag_write_file_v23tag (ET_File *ETFile, GError **error)
      * we replace the changed data */
     if ((id3_tag = ID3Tag_New ()) == NULL)
     {
-        g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_NOMEM,
+        g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_NOMEM, "%s",
                      g_strerror (ENOMEM));
         return FALSE;
     }


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