From: Jens Axboe Date: Tue, 18 Aug 2015 18:23:00 +0000 (-0700) Subject: configure: fixup using wrong var for endmntent() X-Git-Tag: fio-2.2.10~17 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=1581b82a4c8e0d341bddfdbd2fa7cbba8205ca82 configure: fixup using wrong var for endmntent() Signed-off-by: Jens Axboe --- diff --git a/configure b/configure index 1a41fe58..64323368 100755 --- 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