fix use printf format bug

fix use printf format bug
This commit is contained in:
HubretXie 2019-04-09 20:11:07 +08:00 committed by GitHub
parent e887972c90
commit 25cdd8bba9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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