Added `all_fs' parameter.

1998-07-24  Martin Baulig  <martin@home-of-linux.org>

	* sysdeps/common/mountlist.c (glibtop_get_mountlist_s):
	Added `all_fs' parameter.
This commit is contained in:
Martin Baulig
1998-07-24 14:43:16 +00:00
committed by Martin Baulig
parent f3f051ecba
commit aa6d16e47b
7 changed files with 23 additions and 11 deletions

View File

@@ -589,7 +589,7 @@ read_filesystem_list (need_fs_type, all_fs)
}
glibtop_mountentry *
glibtop_get_mountlist_s (glibtop *server, glibtop_mountlist *buf)
glibtop_get_mountlist_s (glibtop *server, glibtop_mountlist *buf, int all_fs)
{
struct mount_entry *me, *tmp, *next;
glibtop_mountentry *mount_list;
@@ -601,7 +601,7 @@ glibtop_get_mountlist_s (glibtop *server, glibtop_mountlist *buf)
/* Read filesystem list. */
me = read_filesystem_list (1, 0);
me = read_filesystem_list (1, all_fs);
if (me == NULL)
return NULL;