aboutsummaryrefslogtreecommitdiffstats
path: root/rawshark.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-05-07 05:26:40 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-05-07 05:26:40 +0000
commit3d39efc2c36d441f093f75be62988ffa49faa5d7 (patch)
tree48c516cfda90c6e435de81e58697a7b937a59be2 /rawshark.c
parent38f233cd993206c05a6c4677158bcca1c76ee6eb (diff)
Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25248
Diffstat (limited to 'rawshark.c')
-rw-r--r--rawshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rawshark.c b/rawshark.c
index 0768243527..7b23e847ac 100644
--- a/rawshark.c
+++ b/rawshark.c
@@ -400,7 +400,7 @@ set_link_type(const char *lt_arg) {
encap = WTAP_ENCAP_USER0;
pref_str = g_string_new("uat:user_dlts:");
/* This must match the format used in the user_dlts file */
- g_string_sprintfa(pref_str,
+ g_string_append_printf(pref_str,
"\"User 0 (DLT=147)\",\"%s\",\"0\",\"\",\"0\",\"\"",
spec_ptr);
if (prefs_set_pref(pref_str->str) != PREFS_SET_OK) {