From 3d39efc2c36d441f093f75be62988ffa49faa5d7 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Wed, 7 May 2008 05:26:40 +0000 Subject: Fix some of the Errors/warnings detected by checkapi. svn path=/trunk/; revision=25248 --- capture-pcap-util-unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'capture-pcap-util-unix.c') 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 -- cgit v1.2.3