projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ed5dea
)
move vmp decl back out to the scope where it belongs
author
Jim Meyering
<jim@meyering.net>
Sat, 3 Jun 2000 22:09:03 +0000
(22:09 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 3 Jun 2000 22:09:03 +0000
(22:09 +0000)
lib/mountlist.c
patch
|
blob
|
history
diff --git
a/lib/mountlist.c
b/lib/mountlist.c
index 32e1843abb279576c48251c65988642e07103bac..7d27a14a6e3a832cd46bde30ba2d4873c17aa24f 100644
(file)
--- 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));