aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/script.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-03-27 16:26:35 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-03-27 16:26:35 +0000
commit95891fc016c9911406cb826540873f0894bcbe8b (patch)
tree6bd21013d32cd589946742000c021ad95de61634 /networking/udhcp/script.c
parent72b3442aeb948a9f27822d8888df765393b9ecd4 (diff)
downloadbusybox-95891fc016c9911406cb826540873f0894bcbe8b.tar.gz
busybox-95891fc016c9911406cb826540873f0894bcbe8b.tar.bz2
openvt: fix gross mismatch between us and "standard" openvt.
standard one even has different syntax! std: "openvt -c 12", we: "openvt 12" std: "openvt top", we: complain that "top" is not a number. openvt: implement -c -w -s (-l -f -v are also accepted but ingnored) openvt_main 188 343 +155 vfork_child - 67 +67 not_vt_fd - 23 +23 packed_usage 23932 23952 +20 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 2/0 up/down: 265/0) Total: 265 bytes text data bss dec hex filename 801344 641 7380 809365 c5995 busybox_old 801617 641 7380 809638 c5aa6 busybox_unstripped
Diffstat (limited to 'networking/udhcp/script.c')
-rw-r--r--networking/udhcp/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/script.c b/networking/udhcp/script.c
index 71f033328..4f4bc253a 100644
--- a/networking/udhcp/script.c
+++ b/networking/udhcp/script.c
@@ -230,7 +230,7 @@ void udhcp_run_script(struct dhcpMessage *packet, const char *name)
/* exec script */
execle(client_config.script, client_config.script,
name, NULL, envp);
- bb_perror_msg_and_die("script %s failed", client_config.script);
+ bb_perror_msg_and_die("exec %s", client_config.script);
}
safe_waitpid(pid, NULL, 0);
for (curr = envp; *curr; curr++)