aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/sctp_stat.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/sctp_stat.c
parentac88e96246b9da349c61e26c88a66fea9626cf0c (diff)
Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26641
Diffstat (limited to 'gtk/sctp_stat.c')
-rw-r--r--gtk/sctp_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/sctp_stat.c b/gtk/sctp_stat.c
index 9661f1de7e..66af339db3 100644
--- a/gtk/sctp_stat.c
+++ b/gtk/sctp_stat.c
@@ -1260,7 +1260,7 @@ register_tap_listener_sctp_stat(void)
if (!sctp_tapinfo_struct.is_registered)
{
if ((error_string = register_tap_listener("sctp", &sctp_tapinfo_struct, NULL, reset, packet, sctp_update))) {
- 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;
}