vino r1000 - trunk/tools



Author: jwendell
Date: Wed Oct 22 16:51:01 2008
New Revision: 1000
URL: http://svn.gnome.org/viewvc/vino?rev=1000&view=rev

Log:
dropped a gcc warning

Modified:
   trunk/tools/vino-passwd.c

Modified: trunk/tools/vino-passwd.c
==============================================================================
--- trunk/tools/vino-passwd.c	(original)
+++ trunk/tools/vino-passwd.c	Wed Oct 22 16:51:01 2008
@@ -99,7 +99,7 @@
   tnew.c_iflag &= ~(IXON | IXOFF);
   tcsetattr (STDIN_FILENO, TCSAFLUSH, &tnew);
 
-  g_print (prompt_msg);
+  g_print ("%s", prompt_msg);
 
   do
     {
@@ -113,7 +113,7 @@
         {
           g_printerr ("\n");
           g_printerr (_("ERROR: Maximum length of password is %d characters. Please, re-enter the password.\n"), VINO_PASSWORD_MAXLEN);
-          g_print (prompt_msg);
+          g_print ("%s", prompt_msg);
 
           pos   = 0;
           again = FALSE;



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