diff --git a/sysdeps/linux/ChangeLog b/sysdeps/linux/ChangeLog index 08b45221..a0aad694 100644 --- a/sysdeps/linux/ChangeLog +++ b/sysdeps/linux/ChangeLog @@ -1,3 +1,7 @@ +2005-03-25 Benoît Dejean + + * netload.c: (get_ipv6): s/strerror/g_strerror/ + 2005-03-25 Benoît Dejean * siglist.c: Updated. diff --git a/sysdeps/linux/netload.c b/sysdeps/linux/netload.c index e15f572c..0ddd0052 100644 --- a/sysdeps/linux/netload.c +++ b/sysdeps/linux/netload.c @@ -21,6 +21,8 @@ Boston, MA 02111-1307, USA. */ +#include + #include #include #include @@ -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; }