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;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_FS_ZIPFS
|
||||
case ZIPFS_MAGIC:
|
||||
fstype = "zipfs";
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
fstype = "Unrecognized";
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue