提交 72a0c1ee 编写于 作者: Z zhong_ning

fix code style

Signed-off-by: Nzhong_ning <zhong_ning@hoperun.com>
上级 fae4bdee
......@@ -718,9 +718,7 @@ static int HandleUsbDevice(const struct Uevent *event, char *devpath, int len)
return -1;
}
/* skip leading /dev/ */
p += strlen(
"/dev/");
p += strlen("/dev/");
/* build directories */
while (*p) {
if (*p == '/') {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册