diff --git a/examples/test/device_test.c b/examples/test/device_test.c index c1902fe91..d62c2168f 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; }