aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/stats_tree_stat.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-31 09:53:56 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-31 09:53:56 +0000
commit3e6f1b264e074542f992e751f08b2dfae8cf9946 (patch)
tree6ea97aeb14456f5545eb319cf5f79e94bb8fb0e9 /gtk/stats_tree_stat.c
parent761caebf8d1e419a550ff2f979758398c3859742 (diff)
Fix some "format not a string literal and no format arguments" warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26641 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/stats_tree_stat.c')
-rw-r--r--gtk/stats_tree_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/stats_tree_stat.c b/gtk/stats_tree_stat.c
index ac35800591..549433d0fb 100644
--- a/gtk/stats_tree_stat.c
+++ b/gtk/stats_tree_stat.c
@@ -307,7 +307,7 @@ init_gtk_tree(const char* optarg, void *userdata _U_)
if (error_string) {
/* error, we failed to attach to the tap. clean up */
- simple_dialog( ESD_TYPE_ERROR, ESD_BTN_OK, error_string->str );
+ simple_dialog( ESD_TYPE_ERROR, ESD_BTN_OK, "%s", error_string->str );
/* destroy_stat_tree_window(st); */
report_failure("stats_tree for: %s failed to attach to the tap: %s",cfg->name,error_string->str);
g_string_free(error_string, TRUE);