aboutsummaryrefslogtreecommitdiff
path: root/toys/other/nbd_client.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-09-29 05:09:46 -0500
committerRob Landley <rob@landley.net>2015-09-29 05:09:46 -0500
commit7d6af77804adc069a83e8566250f868a6cb9786e (patch)
tree92b6b57f55c41ab13164c1d448b3cdd1129703b4 /toys/other/nbd_client.c
parent3b51a07e478d64a84e40b3a7c026b2f8566b194b (diff)
downloadtoybox-7d6af77804adc069a83e8566250f868a6cb9786e.tar.gz
Make defconfig build for nommu.
Adds XVFORK() macro, teaches xpopen_both() to call /proc/self/exe with NULL argv (and converts cpio -p to use that), adds TOYBOX_FORK guards to some unconverted commands.
Diffstat (limited to 'toys/other/nbd_client.c')
-rw-r--r--toys/other/nbd_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/toys/other/nbd_client.c b/toys/other/nbd_client.c
index a82ff7c8..3ad366f3 100644
--- a/toys/other/nbd_client.c
+++ b/toys/other/nbd_client.c
@@ -12,6 +12,7 @@ USE_NBD_CLIENT(OLDTOY(nbd-client, nbd_client, TOYFLAG_USR|TOYFLAG_BIN))
config NBD_CLIENT
bool "nbd-client"
+ depends on TOYBOX_FORK
default y
help
usage: nbd-client [-ns] HOST PORT DEVICE