fs_gettype:add zipfs magic

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
anjiahao 2023-09-25 10:06:34 +08:00 committed by Alan Carvalho de Assis
parent 90517b9f11
commit a4ad9b7579
1 changed files with 6 additions and 0 deletions

View File

@ -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;