[finsh] fix compiling warning.

This commit is contained in:
Bernard Xiong 2015-09-02 14:05:38 +08:00
parent dc194cd7b6
commit cb51bdb245
1 changed files with 5 additions and 0 deletions

View File

@ -242,6 +242,11 @@ int cmd_mkfs(int argc, char** argv)
rt_kprintf("Usage: mkfs [-t type] device\n"); rt_kprintf("Usage: mkfs [-t type] device\n");
return 0; return 0;
} }
if (result != RT_EOK)
{
rt_kprintf("mkfs failed, result=%d\n", result);
}
return 0; return 0;
} }