diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-06-28 09:00:11 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-06-28 09:00:11 +0000 |
commit | 8443bbbf757ab65be172b294ff7c32cf93453de8 (patch) | |
tree | a97bda6f59cab16eea09e6e4caf2781785378177 /wiretap | |
parent | 6c094f6775a72ab2cf362cc5b172393a97dd68f5 (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 'wiretap')
-rw-r--r-- | wiretap/wtap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c index 4bf011e15a..fcd66ea50c 100644 --- a/wiretap/wtap.c +++ b/wiretap/wtap.c @@ -622,7 +622,7 @@ const char return "Unknown reason"; return wtap_errlist[wtap_errlist_index]; } else - return strerror(err); + return g_strerror(err); } /* Close only the sequential side, freeing up memory it uses. |