From: Denys Vlasenko Date: Sun, 17 Mar 2013 21:59:51 +0000 (+0100) Subject: nc: fix build failure ("subscripted value is neither array nor pointer") X-Git-Tag: 1_22_0~228 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c56d12505bc372969a3ec15c74f79ebf5cc09c86;p=oweals%2Fbusybox.git nc: fix build failure ("subscripted value is neither array nor pointer") Signed-off-by: Denys Vlasenko --- diff --git a/networking/nc.c b/networking/nc.c index 5f4cb89cc..126bec906 100644 --- a/networking/nc.c +++ b/networking/nc.c @@ -229,7 +229,7 @@ int nc_main(int argc, char **argv) xdup2(0, 1); /*xdup2(0, 2); - original nc 1.10 does this, we don't */ IF_NC_EXTRA(BB_EXECVP(execparam[0], execparam);) - bb_perror_msg_and_die("can't execute '%s'", execparam[0]); + IF_NC_EXTRA(bb_perror_msg_and_die("can't execute '%s'", execparam[0]);) } /* Select loop copying stdin to cfd, and cfd to stdout */