network: use empty initializer

parent 6c5ee20c
...@@ -2696,7 +2696,7 @@ static int lxc_delete_network_unpriv_exec(const char *lxcpath, const char *lxcna ...@@ -2696,7 +2696,7 @@ static int lxc_delete_network_unpriv_exec(const char *lxcpath, const char *lxcna
int bytes, ret; int bytes, ret;
pid_t child; pid_t child;
int pipefd[2]; int pipefd[2];
char buffer[PATH_MAX] = {0}; char buffer[PATH_MAX] = {};
if (netdev->type != LXC_NET_VETH) if (netdev->type != LXC_NET_VETH)
return log_error_errno(-1, EINVAL, "Network type %d not support for unprivileged use", netdev->type); return log_error_errno(-1, EINVAL, "Network type %d not support for unprivileged use", netdev->type);
......
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