mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-12 14:05:40 +00:00
nc: fix build failure ("subscripted value is neither array nor pointer")
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
091f831424
commit
c56d12505b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user