s/glibtop_error/g_error/g

* netload.c: (main):
	* procmap.c: (main): s/glibtop_error/g_error/g
This commit is contained in:
Benoît Dejean
2004-12-23 15:58:34 +00:00
parent 817057bc3c
commit 71900c0e30
3 changed files with 7 additions and 2 deletions

View File

@@ -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>
* netload.c: (hwaddress_format_for_display), (main): Updated.

View File

@@ -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]);

View File

@@ -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);