s/glibtop_error/g_error/g
* netload.c: (main): * procmap.c: (main): s/glibtop_error/g_error/g
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2004-12-23 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
|
* netload.c: (main):
|
||||||
|
* procmap.c: (main): s/glibtop_error/g_error/g
|
||||||
|
|
||||||
2004-11-15 Benoît Dejean <tazforever@dlfp.org>
|
2004-11-15 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
* netload.c: (hwaddress_format_for_display), (main): Updated.
|
* netload.c: (hwaddress_format_for_display), (main): Updated.
|
||||||
|
@@ -96,7 +96,7 @@ main (int argc, char *argv [])
|
|||||||
glibtop_init_r (&glibtop_global_server, 0, 0);
|
glibtop_init_r (&glibtop_global_server, 0, 0);
|
||||||
|
|
||||||
if (argc != 2)
|
if (argc != 2)
|
||||||
glibtop_error ("Usage: %s interface", argv [0]);
|
g_error ("Usage: %s interface", argv [0]);
|
||||||
|
|
||||||
glibtop_get_netload (&netload, argv [1]);
|
glibtop_get_netload (&netload, argv [1]);
|
||||||
|
|
||||||
|
@@ -83,7 +83,7 @@ main (int argc, char *argv [])
|
|||||||
glibtop_init_r (&glibtop_global_server, 0, 0);
|
glibtop_init_r (&glibtop_global_server, 0, 0);
|
||||||
|
|
||||||
if ((argc != 2) || (sscanf (argv [1], "%d", (int *) &pid) != 1))
|
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
|
#ifdef GLIBTOP_INODEDB
|
||||||
inodedb = glibtop_inodedb_open (0, 0);
|
inodedb = glibtop_inodedb_open (0, 0);
|
||||||
|
Reference in New Issue
Block a user