commands: tweak validate_string_request()

parent 7921a823
...@@ -357,9 +357,9 @@ static int validate_string_request(int fd, const struct lxc_cmd_req *req) ...@@ -357,9 +357,9 @@ static int validate_string_request(int fd, const struct lxc_cmd_req *req)
return 0; return 0;
struct lxc_cmd_rsp rsp = { struct lxc_cmd_rsp rsp = {
.ret = -EINVAL, .ret = -EINVAL,
.datalen = 0, .datalen = 0,
.data = NULL, .data = NULL,
}; };
ret = lxc_cmd_rsp_send(fd, &rsp); ret = lxc_cmd_rsp_send(fd, &rsp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment