summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-08 11:25:00 +0200
committerGünther Deschner <gd@samba.org>2010-06-08 12:27:29 +0200
commit575b1018c65312e9eab562cf4851524cf2f8f24a (patch)
tree505bf2bc75095b9b8b8f159ea2279053129d7e0e /source3/lib/netapi
parent7a7f28d96dd80d3ce175b0caee0c2169de7b810b (diff)
downloadsamba-575b1018c65312e9eab562cf4851524cf2f8f24a.tar.gz
samba-575b1018c65312e9eab562cf4851524cf2f8f24a.tar.bz2
samba-575b1018c65312e9eab562cf4851524cf2f8f24a.zip
s3-netdomjoin-gui: Fix Bug #7500. Fix 'not a string literal' warning in netdomjoin-gui.
Patch from Buchan Milne <bgmilne@mandriva.org>. Thanks! Guenther
Diffstat (limited to 'source3/lib/netapi')
-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 c482113332..50c22d9009 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));