summaryrefslogtreecommitdiff
path: root/sysdeps/sun4/open.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@src.gnome.org>2003-10-20 13:55:44 +0000
committerBastien Nocera <hadess@src.gnome.org>2003-10-20 13:55:44 +0000
commitba36a20cb81c8b3561b99a2412a9fd71b7cd8c12 (patch)
tree88a5de6613816aa1db1aea08c73978c303837df9 /sysdeps/sun4/open.c
parentaf8478ca5fb759bd9e22ead29d83be5634b8fc87 (diff)
downloadlibgtop-ba36a20cb81c8b3561b99a2412a9fd71b7cd8c12.tar.gz
- replace all the xmalloc crap by glib memory management functions
Diffstat (limited to 'sysdeps/sun4/open.c')
-rw-r--r--sysdeps/sun4/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/sun4/open.c b/sysdeps/sun4/open.c
index 30fd3e1e..e68884fa 100644
--- a/sysdeps/sun4/open.c
+++ b/sysdeps/sun4/open.c
@@ -149,7 +149,7 @@ glibtop_open_p (glibtop *server, const char *program_name,
server->machine.ptable_size = (unsigned long) server->machine.nproc *
(unsigned long) sizeof (struct proc);
- server->machine.proc_table = glibtop_malloc_r
+ server->machine.proc_table = g_malloc
(server, server->machine.ptable_size);
/* This are for the memory statistics. */
@@ -170,7 +170,7 @@ glibtop_open_p (glibtop *server, const char *program_name,
sizeof (struct page);
server->machine.physpage = (struct page *)
- glibtop_malloc_r (server, server->machine.bytesize);
+ g_malloc (server, server->machine.bytesize);
/* get the page size with "getpagesize" and
* calculate pageshift from it */