提交 8025d011 编写于 作者: Z zhong_ning

fix code style

Signed-off-by: Nzhong_ning <zhong_ning@hoperun.com>
上级 78941a1c
...@@ -31,12 +31,12 @@ static int SendCmd(int cmd, unsigned long arg) ...@@ -31,12 +31,12 @@ static int SendCmd(int cmd, unsigned long arg)
if (fd != -1) { if (fd != -1) {
int ret = ioctl(fd, cmd, arg); int ret = ioctl(fd, cmd, arg);
if (ret == -1) { if (ret == -1) {
INIT_LOGE("[Init] [ERR] %s!", strerror(errno)); INIT_LOGE("[Init] [ERR] %d!", errno);
} }
close(fd); close(fd);
return ret; return ret;
} }
INIT_LOGE("[Init] [ERR] %s!", strerror(errno)); INIT_LOGE("[Init] [ERR] %d!", errno);
return fd; return fd;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册