diff options
author | Milan Crha <mcrha@redhat.com> | 2009-11-27 05:13:16 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-11-27 05:13:16 +0800 |
commit | d9417cfe89fc3f9e957217d8226c2bb1f27c37e3 (patch) | |
tree | e879fda5cea707d22db895f0ef90aa5ce6a0272b /filter | |
parent | 93b157843473065b73cbaa99e998f57d39f189ad (diff) | |
download | gsoc2013-evolution-d9417cfe89fc3f9e957217d8226c2bb1f27c37e3.tar.gz gsoc2013-evolution-d9417cfe89fc3f9e957217d8226c2bb1f27c37e3.tar.zst gsoc2013-evolution-d9417cfe89fc3f9e957217d8226c2bb1f27c37e3.zip |
Fix compile time warnings in filter/e-rule-context.c
Diffstat (limited to 'filter')
-rw-r--r-- | filter/e-rule-context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/e-rule-context.c b/filter/e-rule-context.c index 5167abbde6..536685840c 100644 --- a/filter/e-rule-context.c +++ b/filter/e-rule-context.c @@ -200,7 +200,7 @@ rule_context_load (ERuleContext *context, if (systemdoc == NULL) { gchar * err_msg = g_strdup_printf("Unable to load system rules '%s': %s", system, g_strerror(errno)); - g_warning(err_msg); + g_warning ("%s: %s", G_STRFUNC, err_msg); rule_context_set_error(context, err_msg); /* no need to free err_msg here */ return -1; @@ -210,7 +210,7 @@ rule_context_load (ERuleContext *context, if (root == NULL || strcmp ((gchar *)root->name, "filterdescription")) { gchar * err_msg = g_strdup_printf ("Unable to load system rules '%s': Invalid format", system); - g_warning(err_msg); + g_warning ("%s: %s", G_STRFUNC, err_msg); rule_context_set_error(context, err_msg); /* no need to free err_msg here */ xmlFreeDoc (systemdoc); |