summaryrefslogtreecommitdiff
path: root/capinfos.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-06-28 09:00:11 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-06-28 09:00:11 +0000
commit8443bbbf757ab65be172b294ff7c32cf93453de8 (patch)
treea97bda6f59cab16eea09e6e4caf2781785378177 /capinfos.c
parent6c094f6775a72ab2cf362cc5b172393a97dd68f5 (diff)
downloadwireshark-8443bbbf757ab65be172b294ff7c32cf93453de8.tar.gz
Replace all strerror() with g_strerror().
Remove our local strerror implementation. Mark strerror as locale unsafe API. This fixes bug 5715. svn path=/trunk/; revision=37812
Diffstat (limited to 'capinfos.c')
-rw-r--r--capinfos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capinfos.c b/capinfos.c
index 88af0b5237..40f75ff578 100644
--- a/capinfos.c
+++ b/capinfos.c
@@ -676,7 +676,7 @@ process_cap_file(wtap *wth, const char *filename)
if (size == -1) {
fprintf(stderr,
"capinfos: Can't get size of \"%s\": %s.\n",
- filename, strerror(err));
+ filename, g_strerror(err));
g_free(cf_info.encap_counts);
return 1;
}