[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

@ -243,6 +243,11 @@ int cmd_mkfs(int argc, char** argv)
return 0;
}
if (result != RT_EOK)
{
rt_kprintf("mkfs failed, result=%d\n", result);
}
return 0;
}
FINSH_FUNCTION_EXPORT_ALIAS(cmd_mkfs, __cmd_mkfs, format disk with file system);