fs_gettype:add zipfs magic
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
90517b9f11
commit
a4ad9b7579
@ -147,6 +147,12 @@ FAR const char *fs_gettype(FAR struct statfs *statbuf)
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_FS_ZIPFS
|
||||||
|
case ZIPFS_MAGIC:
|
||||||
|
fstype = "zipfs";
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fstype = "Unrecognized";
|
fstype = "Unrecognized";
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user