diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-05-11 18:33:49 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-05-11 18:33:49 +0000 |
commit | fe5c2d98205e726a049ae1c5f2ac5013c6bda60b (patch) | |
tree | 2c5118a7646e1fa773f2a668ffa4cae5cedb3c5d /plugins/mate/mate_parser.l | |
parent | 319f71c537bf55a7cdfe0ea51d1909ad24c6491b (diff) | |
download | wireshark-fe5c2d98205e726a049ae1c5f2ac5013c6bda60b.tar.gz |
g_string_sprintf --> g_string_printf and g_string_sprintfa --> g_string_append_printf
svn path=/trunk/; revision=25276
Diffstat (limited to 'plugins/mate/mate_parser.l')
-rw-r--r-- | plugins/mate/mate_parser.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mate/mate_parser.l b/plugins/mate/mate_parser.l index 31d2fa4b88..0a284a4a45 100644 --- a/plugins/mate/mate_parser.l +++ b/plugins/mate/mate_parser.l @@ -182,7 +182,7 @@ blk_cmnt_stop "*/" yy_switch_to_buffer(include_stack[--include_stack_ptr] ); if (errno) - g_string_sprintfa(mc->config_error, "Mate parser: Could not open file: '%s': %s", yytext, strerror(errno) ); + g_string_append_printf(mc->config_error, "Mate parser: Could not open file: '%s': %s", yytext, strerror(errno) ); } else { @@ -292,7 +292,7 @@ extern gboolean mate_load_config(const gchar* filename, mate_config* matecfg) { yyin = eth_fopen(filename,"r"); if (!yyin) { - g_string_sprintfa(mc->config_error,"Mate parser: Could not open file: '%s', error: %s", filename, strerror(errno) ); + g_string_append_printf(mc->config_error,"Mate parser: Could not open file: '%s', error: %s", filename, strerror(errno) ); return FALSE; } @@ -327,7 +327,7 @@ extern gboolean mate_load_config(const gchar* filename, mate_config* matecfg) { state = FALSE; } CATCH_ALL { state = FALSE; - g_string_sprintfa(mc->config_error,"An unexpected error occurred"); + g_string_append_printf(mc->config_error,"An unexpected error occurred"); } ENDTRY; |