summaryrefslogtreecommitdiff
path: root/firmware/common/dircache.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/dircache.c')
-rw-r--r--firmware/common/dircache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c
index 41564194d0..c274b6c62c 100644
--- a/firmware/common/dircache.c
+++ b/firmware/common/dircache.c
@@ -1882,7 +1882,8 @@ static void build_volumes(void)
1882 1882
1883 logf("Done, %ld KiB used", dircache.size / 1024); 1883 logf("Done, %ld KiB used", dircache.size / 1024);
1884 1884
1885 core_unpin(dircache_runinfo.handle); 1885 if (dircache_runinfo.handle > 0) /* dircache may have been disabled */
1886 core_unpin(dircache_runinfo.handle);
1886} 1887}
1887 1888
1888/** 1889/**