aboutsummaryrefslogtreecommitdiffstats
path: root/capture-pcap-util-unix.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 /capture-pcap-util-unix.c
parent38f233cd993206c05a6c4677158bcca1c76ee6eb (diff)
Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25248
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