summaryrefslogtreecommitdiff
path: root/examples/test
diff options
context:
space:
mode:
authorliang yongxiang <[email protected]>2018-07-18 19:16:06 +0800
committerliang yongxiang <[email protected]>2018-07-18 19:21:46 +0800
commit2c7fcf7d834a6e7cc8a41af3e5952f6559ca6ec8 (patch)
treed1d5f4d2414994aa7ac5990fde9b6c300235e5e8 /examples/test
parent4ca1d03bdffef9e79456df3e696b7efb7f5b79aa (diff)
[examples] fixed bug when device not found
Diffstat (limited to 'examples/test')
-rw-r--r--examples/test/device_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/test/device_test.c b/examples/test/device_test.c
index c1902fe919..d62c2168ff 100644
--- a/examples/test/device_test.c
+++ b/examples/test/device_test.c
@@ -480,7 +480,7 @@ int device_test(const char * device_name)
device = rt_device_find(device_name);
if( device == RT_NULL)
{
- rt_kprintf("device %s: not found!\r\n");
+ rt_kprintf("device %s: not found!\r\n", device_name);
return RT_ERROR;
}