aboutsummaryrefslogtreecommitdiffstats
path: root/capture-pcap-util-unix.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 /capture-pcap-util-unix.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 'capture-pcap-util-unix.c')
-rw-r--r--capture-pcap-util-unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capture-pcap-util-unix.c b/capture-pcap-util-unix.c
index d707cc695a..26a45da0b1 100644
--- a/capture-pcap-util-unix.c
+++ b/capture-pcap-util-unix.c
@@ -345,7 +345,7 @@ get_compiled_pcap_version(GString *str)
#ifdef HAVE_PCAP_VERSION
extern char pcap_version[];
- g_string_sprintfa(str, "with libpcap %s", pcap_version);
+ g_string_append_printf(str, "with libpcap %s", pcap_version);
#else
g_string_append(str, "with libpcap (version unknown)");
#endif
@@ -357,7 +357,7 @@ get_compiled_pcap_version(GString *str)
void
get_runtime_pcap_version(GString *str)
{
- g_string_sprintfa(str, "with ");
+ g_string_append_printf(str, "with ");
#ifdef HAVE_PCAP_LIB_VERSION
g_string_sprintfa(str, pcap_lib_version());
#else