summaryrefslogtreecommitdiffstats
path: root/disk-utils/fsck.c
diff options
context:
space:
mode:
Diffstat (limited to 'disk-utils/fsck.c')
-rw-r--r--disk-utils/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/fsck.c b/disk-utils/fsck.c
index e479d5884..3fa47815e 100644
--- a/disk-utils/fsck.c
+++ b/disk-utils/fsck.c
@@ -1576,7 +1576,7 @@ int main(int argc, char *argv[])
}
status |= wait_many(FLAG_WAIT_ALL);
free(fsck_path);
- mnt_free_cache(mntcache);
+ mnt_unref_cache(mntcache);
mnt_free_table(fstab);
mnt_free_table(mtab);
return status;