aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dtd_preparse.l
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 /epan/dtd_preparse.l
parent6c094f6775a72ab2cf362cc5b172393a97dd68f5 (diff)
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 'epan/dtd_preparse.l')
-rw-r--r--epan/dtd_preparse.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dtd_preparse.l b/epan/dtd_preparse.l
index 276b19d0ba..7e951b0f6b 100644
--- a/epan/dtd_preparse.l
+++ b/epan/dtd_preparse.l
@@ -200,7 +200,7 @@ extern GString* dtd_preparse(const gchar* dname,const gchar* fname, GString* er
if (!yyin) {
if (err)
- g_string_append_printf(err, "Could not open file: '%s', error: %s",fullname,strerror(errno));
+ g_string_append_printf(err, "Could not open file: '%s', error: %s",fullname,g_strerror(errno));
return NULL;
}