configure: fixup using wrong var for endmntent()
authorJens Axboe <axboe@fb.com>
Tue, 18 Aug 2015 18:23:00 +0000 (11:23 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 18 Aug 2015 18:23:00 +0000 (11:23 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
configure

index 1a41fe58024ea40a0d892c9d9e44ff7eb0e819bb..64323368fd00ae9f729c48ee8b10812706d96994 100755 (executable)
--- a/configure
+++ b/configure
@@ -1480,7 +1480,7 @@ int main(int argc, char **argv)
 {
   FILE *mtab = setmntent(NULL, "r");
   struct mntent *mnt = getmntent(mtab);
-  endmntent(mnt);
+  endmntent(mtab);
   return 0;
 }
 EOF