From a4ad9b757964e445ae9e2b154d4ec214c7bf8046 Mon Sep 17 00:00:00 2001 From: anjiahao Date: Mon, 25 Sep 2023 10:06:34 +0800 Subject: [PATCH] fs_gettype:add zipfs magic Signed-off-by: anjiahao --- fs/mount/fs_gettype.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fs/mount/fs_gettype.c b/fs/mount/fs_gettype.c index b5894a698f..b5bfb35da7 100644 --- a/fs/mount/fs_gettype.c +++ b/fs/mount/fs_gettype.c @@ -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;