diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-06-28 09:00:11 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-06-28 09:00:11 +0000 |
commit | bd2648f6d0023b72d8d60eb331c0adede849a6c9 (patch) | |
tree | a97bda6f59cab16eea09e6e4caf2781785378177 /capinfos.c | |
parent | 7482c4230f17249aab6a65c73184549b017c06ac (diff) |
Replace all strerror() with g_strerror().
Remove our local strerror implementation.
Mark strerror as locale unsafe API.
This fixes bug 5715.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37812 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capinfos.c')
-rw-r--r-- | capinfos.c | 2 |
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; } |