s/strerror/g_strerror/.

* netload.c: (get_ipv6): s/strerror/g_strerror/.
This commit is contained in:
Benoît Dejean
2005-03-25 13:23:24 +00:00
parent ca4dc56342
commit 83a9bef192
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2005-03-25 Benoît Dejean <TazForEver@dlfp.org>
* netload.c: (get_ipv6): s/strerror/g_strerror/
2005-03-25 Benoît Dejean <TazForEver@dlfp.org>
* siglist.c: Updated.

View File

@@ -21,6 +21,8 @@
Boston, MA 02111-1307, USA.
*/
#include <config.h>
#include <glibtop.h>
#include <glibtop/error.h>
#include <glibtop/netload.h>
@@ -131,7 +133,7 @@ static void get_ipv6(glibtop *server, glibtop_netload *buf,
if(getifaddrs (&ifa0) != 0)
{
glibtop_warn_r(server, "getifaddrs failed : %s", strerror(errno));
glibtop_warn_r(server, "getifaddrs failed : %s", g_strerror(errno));
return;
}