summaryrefslogtreecommitdiff
path: root/components/dfs/src
diff options
context:
space:
mode:
authorHubretXie <[email protected]>2019-04-09 20:11:07 +0800
committerGitHub <[email protected]>2019-04-09 20:11:07 +0800
commit25cdd8bba95499656594a1d3dfd42fd014df1f9f (patch)
tree69f03d566c85fa7fc60e05b6ef141eb565a1a0ab /components/dfs/src
parente887972c907903910843224586945924224aec56 (diff)
fix use printf format bug
fix use printf format bug
Diffstat (limited to 'components/dfs/src')
-rw-r--r--components/dfs/src/dfs_fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/src/dfs_fs.c b/components/dfs/src/dfs_fs.c
index 774d008ce6..0f69ad2e3e 100644
--- a/components/dfs/src/dfs_fs.c
+++ b/components/dfs/src/dfs_fs.c
@@ -55,7 +55,7 @@ int dfs_register(const struct dfs_filesystem_ops *ops)
if (empty == NULL)
{
rt_set_errno(-ENOSPC);
- LOG_E("There is no space to register this file system (%d).", ops->name);
+ LOG_E("There is no space to register this file system (%s).", ops->name);
ret = -1;
}
else if (ret == RT_EOK)