Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > e1772d9ce214719ae7c850cb42b1265d > files > 1

gnome-kerberos-0.3.2-5mdv2010.1.src.rpm

--- src/krb5.c.str	2010-02-02 16:46:30.000000000 +0100
+++ src/krb5.c	2010-02-02 16:46:52.000000000 +0100
@@ -54,7 +54,7 @@
 	if (ret != KRB5_SUCCESS) {
 		char *p = g_strdup_printf(_("Error resolving cache name: %s"),
 					  error_message(ret));
-		g_warning(p);
+		g_warning("%s",p);
 		return;
 	}
 
@@ -224,6 +224,7 @@
 					GTK_DIALOG_DESTROY_WITH_PARENT,
 					GTK_MESSAGE_ERROR,
 					GTK_BUTTONS_CLOSE,
+					"%s",
 					err);
 	gtk_dialog_run(GTK_DIALOG(dialog));
 	gtk_widget_destroy(dialog);