aboutsummaryrefslogtreecommitdiffstats
path: root/rawshark.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2008-05-07 05:26:40 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2008-05-07 05:26:40 +0000
commite3a174e55ee8ecfb5cc8dc86ad3a98420e1fae2d (patch)
tree48c516cfda90c6e435de81e58697a7b937a59be2 /rawshark.c
parent49e8f3b2e29e529d2f0ceec7cd83472f1fd34ef1 (diff)
Fix some of the Errors/warnings detected by checkapi.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25248 f5534014-38df-0310-8fa8-9805f1628bb7
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) {