Browse Source

Merge pull request #2560 from HubertXie/master

fix use rt_kprintf format bug
Bernard Xiong 6 years ago
parent
commit
7aa89a3c74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/dfs/src/dfs_fs.c

+ 1 - 1
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)