(read_filesystem_list) [MOUNTED_VMOUNT]: Detect any
authorJim Meyering <jim@meyering.net>
Tue, 18 Mar 2003 17:47:06 +0000 (17:47 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 18 Mar 2003 17:47:06 +0000 (17:47 +0000)
commit081b3c96efe7d0b21b79793c3b0bf67a8d4b38e2
tree4069e61739ab76f0bab020b582a59ea77552c422
parentf36cebb7df88b00a99e2e9aa687cb5eefe61c927
(read_filesystem_list) [MOUNTED_VMOUNT]: Detect any
error from mntctl.
Use mntctl's return value to drive the entry-processing loop, since
we can't rely on the value of the vmt_length member in the last
entry.  On some systems doing so could result in an infinite loop.
Based in part on a patch from Mike Jetzer.
lib/mountlist.c