diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-03-17 22:59:51 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-03-17 22:59:51 +0100 |
commit | c56d12505bc372969a3ec15c74f79ebf5cc09c86 (patch) | |
tree | 7de9a5a60962ca5411288d88dc131e5d9009fd2f /networking/nc.c | |
parent | 091f831424e8aa2052484ef07f0225f5405d086f (diff) | |
download | busybox-w32-c56d12505bc372969a3ec15c74f79ebf5cc09c86.tar.gz busybox-w32-c56d12505bc372969a3ec15c74f79ebf5cc09c86.tar.bz2 busybox-w32-c56d12505bc372969a3ec15c74f79ebf5cc09c86.zip |
nc: fix build failure ("subscripted value is neither array nor pointer")
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/nc.c')
-rw-r--r-- | networking/nc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
229 | xdup2(0, 1); | 229 | xdup2(0, 1); |
230 | /*xdup2(0, 2); - original nc 1.10 does this, we don't */ | 230 | /*xdup2(0, 2); - original nc 1.10 does this, we don't */ |
231 | IF_NC_EXTRA(BB_EXECVP(execparam[0], execparam);) | 231 | IF_NC_EXTRA(BB_EXECVP(execparam[0], execparam);) |
232 | bb_perror_msg_and_die("can't execute '%s'", execparam[0]); | 232 | IF_NC_EXTRA(bb_perror_msg_and_die("can't execute '%s'", execparam[0]);) |
233 | } | 233 | } |
234 | 234 | ||
235 | /* Select loop copying stdin to cfd, and cfd to stdout */ | 235 | /* Select loop copying stdin to cfd, and cfd to stdout */ |