diff --git a/libcontainer/nsenter/nsexec.c b/libcontainer/nsenter/nsexec.c index 4e87ac2ae77..c7ebaacce0f 100644 --- a/libcontainer/nsenter/nsexec.c +++ b/libcontainer/nsenter/nsexec.c @@ -923,7 +923,6 @@ void receive_idmapsources(int sockfd) receive_fd_sources(sockfd, "_LIBCONTAINER_IDMAP_FDS"); } - void nsexec(void) { int pipenum; @@ -1169,7 +1168,7 @@ void nsexec(void) case SYNC_MOUNT_IDMAP_PLS: write_log(DEBUG, "stage-1 requested to open idmap sources"); send_idmapsources(syncfd, stage1_pid, config.idmapsources, - config.idmapsources_len); + config.idmapsources_len); s = SYNC_MOUNT_IDMAP_ACK; write_log(DEBUG, "idmap sources done, sending SYNC_MOUNT_IDMAP_ACK"); if (write(syncfd, &s, sizeof(s)) != sizeof(s)) {