mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 20:27:53 +00:00
fs_gettype:add zipfs magic
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
90517b9f11
commit
a4ad9b7579
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue