mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
fs_gettype:add zipfs magic
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
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;
|
||||
|
||||
Reference in New Issue
Block a user