summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-08 11:25:00 +0200
committerKarolin Seeger <kseeger@samba.org>2011-01-13 17:58:49 +0100
commitda6259be54edaf86bb44a343b365c9def8135de5 (patch)
treecaf23d134a73c8c1345e6e1d816abdc25a29b54b /source3
parent81f4c22bc4225e098541787de6b714a1bb2ef63b (diff)
downloadsamba-da6259be54edaf86bb44a343b365c9def8135de5.tar.gz
s3-netdomjoin-gui: Fix Bug #7500. Fix 'not a string literal' warning in netdomjoin-gui.
Patch from Buchan Milne <bgmilne@mandriva.org>. Thanks! Guenther (cherry picked from commit 575b1018c65312e9eab562cf4851524cf2f8f24a) (cherry picked from commit 1419c154d67b8ffaf0d6e2e3ba103121ab3736f5) (cherry picked from commit 5fbf50d351bf3d14b495a5aa586b0cee68ab0cae)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c
index c4821133327..50c22d9009b 100644
--- a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c
+++ b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c
@@ -520,7 +520,7 @@ static void callback_do_hostname_change(GtkWidget *widget,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
- str);
+ "%s",str);
gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
gtk_window_set_transient_for(GTK_WINDOW(dialog), GTK_WINDOW(state->window_main));