Explorar o código

fix use printf format bug

fix use printf format bug
HubretXie %!s(int64=6) %!d(string=hai) anos
pai
achega
25cdd8bba9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)