gnome-vfs r5522 - in trunk: . programs test



Author: kmaraas
Date: Sun Nov 23 16:02:03 2008
New Revision: 5522
URL: http://svn.gnome.org/viewvc/gnome-vfs?rev=5522&view=rev

Log:
2008-11-23  Kjartan Maraas  <kmaraas gnome org>

	* programs/authentication.c: (do_full_auth):
	* test/test-shell.c: (get_input_string):
	Fix two missing format specifiers.

Modified:
   trunk/ChangeLog
   trunk/programs/authentication.c
   trunk/test/test-shell.c

Modified: trunk/programs/authentication.c
==============================================================================
--- trunk/programs/authentication.c	(original)
+++ trunk/programs/authentication.c	Sun Nov 23 16:02:03 2008
@@ -167,7 +167,7 @@
 
 	g_string_free (name, TRUE);
 
-	printf (message);
+	printf ("%s", message);
 	g_free (message);
 
 	if (in_args->flags & GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION_ANON_SUPPORTED) {

Modified: trunk/test/test-shell.c
==============================================================================
--- trunk/test/test-shell.c	(original)
+++ trunk/test/test-shell.c	Sun Nov 23 16:02:03 2008
@@ -973,7 +973,7 @@
 {
 	char buffer[512];
 
-	printf (prompt);
+	printf ("%s", prompt);
 	fgets (buffer, 511, stdin);
 	if (strchr (buffer, '\n'))
 		*strchr (buffer, '\n') = '\0';



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