提交 bd533b37 编写于 作者: B bernard.xiong

cleanup output message.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@198 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 680b77cd
...@@ -81,8 +81,8 @@ rt_err_t rt_device_init_all() ...@@ -81,8 +81,8 @@ rt_err_t rt_device_init_all()
result = init(device); result = init(device);
if (result != RT_EOK) if (result != RT_EOK)
{ {
rt_kprintf("init device:%s error:\n", device->parent.name); rt_kprintf("To initialize device:%s failed. The error code is %d\n",
rt_kprintf("error code:%d\n", result); device->parent.name, result);
} }
else else
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册