1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-05-23 19:01:19 +02:00

move vmp decl back out to the scope where it belongs

This commit is contained in:
Jim Meyering
2000-06-03 22:09:03 +00:00
parent e5f1a12c6b
commit 86c8226819
+1 -1
View File
@@ -712,6 +712,7 @@ read_filesystem_list (int need_fs_type)
{
int bufsize;
char *entries, *thisent;
struct vmount *vmp;
/* Ask how many bytes to allocate for the mounted filesystem info. */
mntctl (MCTL_QUERY, sizeof bufsize, (struct vmount *) &bufsize);
@@ -724,7 +725,6 @@ read_filesystem_list (int need_fs_type)
thisent += vmp->vmt_length)
{
char *options, *ignore;
struct vmount *vmp;
vmp = (struct vmount *) thisent;
me = (struct mount_entry *) xmalloc (sizeof (struct mount_entry));