Fixed glibtop_init_s call.
* procmap.c: (glibtop_get_proc_map_s): Fixed glibtop_init_s call.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2004-10-04 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
|
* procmap.c: (glibtop_get_proc_map_s): Fixed glibtop_init_s call.
|
||||||
|
|
||||||
2004-10-04 Benoît Dejean <tazforever@dlfp.org>
|
2004-10-04 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
* Makefile.am:
|
* Makefile.am:
|
||||||
|
@@ -41,7 +41,7 @@ glibtop_init_proc_map_s (glibtop *server)
|
|||||||
glibtop_map_entry *
|
glibtop_map_entry *
|
||||||
glibtop_get_proc_map_s (glibtop *server, glibtop_proc_map *buf, pid_t pid)
|
glibtop_get_proc_map_s (glibtop *server, glibtop_proc_map *buf, pid_t pid)
|
||||||
{
|
{
|
||||||
glibtop_init_p (&server, GLIBTOP_SYSDEPS_PROC_MAP, 0);
|
glibtop_init_p (&server, (1L << GLIBTOP_SYSDEPS_PROC_MAP), 0);
|
||||||
|
|
||||||
memset (buf, 0, sizeof (glibtop_proc_map));
|
memset (buf, 0, sizeof (glibtop_proc_map));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user