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 /version_info.c | |
parent | 6c094f6775a72ab2cf362cc5b172393a97dd68f5 (diff) | |
download | wireshark-8443bbbf757ab65be172b294ff7c32cf93453de8.tar.gz wireshark-8443bbbf757ab65be172b294ff7c32cf93453de8.tar.bz2 wireshark-8443bbbf757ab65be172b294ff7c32cf93453de8.zip |
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 'version_info.c')
-rw-r--r-- | version_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/version_info.c b/version_info.c index 64b6f4e44e..f5b2b225d3 100644 --- a/version_info.c +++ b/version_info.c @@ -363,7 +363,7 @@ get_runtime_version_info(GString *str, void (*additional_info)(GString *)) */ if (uname(&name) < 0) { g_string_append_printf(str, "unknown OS version (uname failed - %s)", - strerror(errno)); + g_strerror(errno)); return; } |