summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-06-03 22:09:03 +0000
committerJim Meyering <jim@meyering.net>2000-06-03 22:09:03 +0000
commit86c82268197db31c6f9d511d8eb307a3239fa0af (patch)
tree1f96d343955ee3d141d114d1bc11a9e67d99a860 /lib
parente5f1a12c6bb428b57139661a1946919148aa5c27 (diff)
downloadcoreutils-86c82268197db31c6f9d511d8eb307a3239fa0af.tar.xz
move vmp decl back out to the scope where it belongs
Diffstat (limited to 'lib')
-rw-r--r--lib/mountlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mountlist.c b/lib/mountlist.c
index 32e1843ab..7d27a14a6 100644
--- a/lib/mountlist.c
+++ b/lib/mountlist.c
@@ -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));