summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/Vfat.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/Vfat.cpp b/fs/Vfat.cpp
index 7bd05ec..6b5d7cf 100644
--- a/fs/Vfat.cpp
+++ b/fs/Vfat.cpp
@@ -108,6 +108,11 @@ status_t Check(const std::string& source) {
errno = EIO;
return -1;
+ case 8:
+ SLOGE("Filesystem check failed (no filesystem)");
+ errno = ENODATA;
+ return -1;
+
default:
SLOGE("Filesystem check failed (unknown exit code %d)", rc);
errno = EIO;