aboutsummaryrefslogtreecommitdiffstats
path: root/capture-wpcap.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-wpcap.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-wpcap.c')
-rw-r--r--capture-wpcap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/capture-wpcap.c b/capture-wpcap.c
index 10d5cb8da5..a70116826d 100644
--- a/capture-wpcap.c
+++ b/capture-wpcap.c
@@ -768,9 +768,9 @@ get_runtime_pcap_version(GString *str)
gchar *blankp;
if (has_wpcap) {
- g_string_sprintfa(str, "with ");
+ g_string_append_printf(str, "with ");
if (p_pcap_lib_version != NULL)
- g_string_sprintfa(str, p_pcap_lib_version());
+ g_string_append_printf(str, p_pcap_lib_version());
else {
/*
* An alternative method of obtaining the version
@@ -802,7 +802,7 @@ get_runtime_pcap_version(GString *str)
g_module_close(handle);
}
}
- g_string_sprintfa(str, "WinPcap (%s)", packetVer);
+ g_string_append_printf(str, "WinPcap (%s)", packetVer);
}
} else
g_string_append(str, "without WinPcap");