mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-07 01:44:41 +08:00
[finsh] fix compiling warning.
This commit is contained in:
@@ -242,6 +242,11 @@ int cmd_mkfs(int argc, char** argv)
|
||||
rt_kprintf("Usage: mkfs [-t type] device\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (result != RT_EOK)
|
||||
{
|
||||
rt_kprintf("mkfs failed, result=%d\n", result);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user