aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-giop.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-28 09:00:11 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-28 09:00:11 +0000
commitbd2648f6d0023b72d8d60eb331c0adede849a6c9 (patch)
treea97bda6f59cab16eea09e6e4caf2781785378177 /epan/dissectors/packet-giop.c
parent7482c4230f17249aab6a65c73184549b017c06ac (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 'epan/dissectors/packet-giop.c')
-rw-r--r--epan/dissectors/packet-giop.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-giop.c b/epan/dissectors/packet-giop.c
index 5b3e67f830..e82a600e27 100644
--- a/epan/dissectors/packet-giop.c
+++ b/epan/dissectors/packet-giop.c
@@ -288,9 +288,6 @@
#include <ctype.h>
#include <glib.h>
#include <math.h>
-#ifdef NEED_STRERROR_H
-#include "wsutil/strerror.h"
-#endif
#include "isprint.h"
@@ -1321,7 +1318,7 @@ static void read_IOR_strings_from_file(const gchar *name, int max_iorlen) {
if (fp == NULL) {
if (errno == EACCES)
- fprintf(stderr, "Error opening file %s for reading: %s\n", name, strerror(errno));
+ fprintf(stderr, "Error opening file %s for reading: %s\n", name, g_strerror(errno));
return;
}