aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libspl/os/linux/getmntany.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libspl/os/linux/getmntany.c')
-rw-r--r--lib/libspl/os/linux/getmntany.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libspl/os/linux/getmntany.c b/lib/libspl/os/linux/getmntany.c
index c7201363f..a27db60ec 100644
--- a/lib/libspl/os/linux/getmntany.c
+++ b/lib/libspl/os/linux/getmntany.c
@@ -148,6 +148,7 @@ getextmntent(const char *path, struct extmnttab *entry, struct stat64 *statbuf)
break;
}
}
+ (void) fclose(fp);
if (!match) {
(void) fprintf(stderr, "cannot find mountpoint for '%s'\n",