diff --git a/examples/ChangeLog b/examples/ChangeLog index a66ff9c6..bb3cb71b 100644 --- a/examples/ChangeLog +++ b/examples/ChangeLog @@ -1,3 +1,8 @@ +2004-12-23 Benoît Dejean + + * netload.c: (main): + * procmap.c: (main): s/glibtop_error/g_error/g + 2004-11-15 Benoît Dejean * netload.c: (hwaddress_format_for_display), (main): Updated. diff --git a/examples/netload.c b/examples/netload.c index 3451bcc3..a9439bdd 100644 --- a/examples/netload.c +++ b/examples/netload.c @@ -96,7 +96,7 @@ main (int argc, char *argv []) glibtop_init_r (&glibtop_global_server, 0, 0); if (argc != 2) - glibtop_error ("Usage: %s interface", argv [0]); + g_error ("Usage: %s interface", argv [0]); glibtop_get_netload (&netload, argv [1]); diff --git a/examples/procmap.c b/examples/procmap.c index 3d4ad660..d3e251ff 100644 --- a/examples/procmap.c +++ b/examples/procmap.c @@ -83,7 +83,7 @@ main (int argc, char *argv []) glibtop_init_r (&glibtop_global_server, 0, 0); if ((argc != 2) || (sscanf (argv [1], "%d", (int *) &pid) != 1)) - glibtop_error ("Usage: %s pid", argv [0]); + g_error ("Usage: %s pid", argv [0]); #ifdef GLIBTOP_INODEDB inodedb = glibtop_inodedb_open (0, 0);