devhelp r1025 - in branches/gnome-2-22: . src



Author: cosimoc
Date: Tue Jul  1 19:53:08 2008
New Revision: 1025
URL: http://svn.gnome.org/viewvc/devhelp?rev=1025&view=rev

Log:
2008-07-01  Cosimo Cecchi  <cosimoc gnome org>

	* src/dh-parser.c: (parser_read_gz_file):
	Use correct string format in g_set_error (). (#537093).


Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/src/dh-parser.c

Modified: branches/gnome-2-22/src/dh-parser.c
==============================================================================
--- branches/gnome-2-22/src/dh-parser.c	(original)
+++ branches/gnome-2-22/src/dh-parser.c	Tue Jul  1 19:53:08 2008
@@ -557,7 +557,7 @@
 		g_set_error (error,
 			     DH_ERROR,
 			     DH_ERROR_FILE_NOT_FOUND,
-			     g_strerror (errno));
+			     "%s", g_strerror (errno));
 		return FALSE;
 	}
 



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