diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-08-21 12:00:17 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-08-21 19:00:48 +0000 |
commit | 5a3c6cb3fc5ac1d1630c782bdc958e1bd8186e6e (patch) | |
tree | c4614a436edb81e3d7e71829ef65ab1f873ded4a /caputils | |
parent | 15bf0ea43724b9e895ff6b57d213414f77ded7d7 (diff) | |
download | wireshark-5a3c6cb3fc5ac1d1630c782bdc958e1bd8186e6e.tar.gz wireshark-5a3c6cb3fc5ac1d1630c782bdc958e1bd8186e6e.tar.bz2 wireshark-5a3c6cb3fc5ac1d1630c782bdc958e1bd8186e6e.zip |
Wrong snprintf() wrapper.
Change-Id: I7d8d83cd1829bed8cc940fa3d9c86cdc94f361af
Reviewed-on: https://code.wireshark.org/review/29229
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'caputils')
-rw-r--r-- | caputils/capture-pcap-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/caputils/capture-pcap-util.c b/caputils/capture-pcap-util.c index 1572c090c1..da44848173 100644 --- a/caputils/capture-pcap-util.c +++ b/caputils/capture-pcap-util.c @@ -384,7 +384,7 @@ if_info_get(const char *name) descr_size = sizeof (descr_prefix) + 10; description = g_malloc(descr_size); if (description != NULL) { - pcap_snprintf(description, descr_size, + g_snprintf(description, descr_size, "%s%ld", descr_prefix, busnum); } } |