Disk: print Read-only

This commit is contained in:
李通洲
2023-08-26 12:59:30 +08:00
parent 32d6436027
commit 2f96c847b9
2 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ const char* ffDetectDisksImpl(FFlist* disks)
ffStrbufInitS(&disk->filesystem, fs->f_fstypename);
detectFsInfo(fs, disk);
if(fs->f_flags & MNT_EXRDONLY)
if(fs->f_flags & MNT_RDONLY)
disk->type |= FF_DISK_VOLUME_TYPE_READONLY_BIT;
}