summaryrefslogtreecommitdiff
path: root/gtk/hostlist_table.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-10-31 09:53:56 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-10-31 09:53:56 +0000
commit8608c8f1ded10fbaee00ff90d1fe7ca90b266629 (patch)
tree6ea97aeb14456f5545eb319cf5f79e94bb8fb0e9 /gtk/hostlist_table.c
parentac88e96246b9da349c61e26c88a66fea9626cf0c (diff)
downloadwireshark-8608c8f1ded10fbaee00ff90d1fe7ca90b266629.tar.gz
Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26641
Diffstat (limited to 'gtk/hostlist_table.c')
-rw-r--r--gtk/hostlist_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/hostlist_table.c b/gtk/hostlist_table.c
index a13904885e..bfb5046011 100644
--- a/gtk/hostlist_table.c
+++ b/gtk/hostlist_table.c
@@ -180,7 +180,7 @@ reset_hostlist_table_data(hostlist_table *hosts)
}
error_string = set_tap_dfilter (hosts, filter);
if (error_string) {
- simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, error_string->str);
+ simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "%s", error_string->str);
g_string_free(error_string, TRUE);
return;
}
@@ -686,7 +686,7 @@ init_hostlist_table_page(hostlist_table *hosttable, GtkWidget *vbox, gboolean hi
/* register the tap and rerun the taps on the packet list */
error_string=register_tap_listener(tap_name, hosttable, filter, reset_hostlist_table_data_cb, packet_func, draw_hostlist_table_data_cb);
if(error_string){
- simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, error_string->str);
+ simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "%s", error_string->str);
g_string_free(error_string, TRUE);
g_free(hosttable);
return FALSE;