From bd533b374307251592482c365d18f14449034cf1 Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Sun, 13 Dec 2009 15:38:25 +0000 Subject: [PATCH] cleanup output message. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@198 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- src/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/device.c b/src/device.c index 83385128d5..30b29b8326 100644 --- a/src/device.c +++ b/src/device.c @@ -81,8 +81,8 @@ rt_err_t rt_device_init_all() result = init(device); if (result != RT_EOK) { - rt_kprintf("init device:%s error:\n", device->parent.name); - rt_kprintf("error code:%d\n", result); + rt_kprintf("To initialize device:%s failed. The error code is %d\n", + device->parent.name, result); } else {