diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2014-05-02 17:15:58 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-05-02 17:15:58 +0200 |
commit | e765b5ac349a8f9305e52b3ab2c3ac78c17bf283 (patch) | |
tree | 2dec8a3b34450b7088ae7c3a4b374e953c0a4a73 /networking | |
parent | 15a357e5962634c94ee322fee4da897312090a89 (diff) | |
download | busybox-w32-e765b5ac349a8f9305e52b3ab2c3ac78c17bf283.tar.gz busybox-w32-e765b5ac349a8f9305e52b3ab2c3ac78c17bf283.tar.bz2 busybox-w32-e765b5ac349a8f9305e52b3ab2c3ac78c17bf283.zip |
libbb: rename execable -> executable. No code changes
English speakers complained that it sounded awfully broken.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifupdown.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index e1ea351a4..c35d97a1a 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -555,7 +555,7 @@ static int FAST_FUNC dhcp_up(struct interface_defn_t *ifd, execfn *exec) | |||
555 | return 0; | 555 | return 0; |
556 | # endif | 556 | # endif |
557 | for (i = 0; i < ARRAY_SIZE(ext_dhcp_clients); i++) { | 557 | for (i = 0; i < ARRAY_SIZE(ext_dhcp_clients); i++) { |
558 | if (exists_execable(ext_dhcp_clients[i].name)) | 558 | if (executable_exists(ext_dhcp_clients[i].name)) |
559 | return execute(ext_dhcp_clients[i].startcmd, ifd, exec); | 559 | return execute(ext_dhcp_clients[i].startcmd, ifd, exec); |
560 | } | 560 | } |
561 | bb_error_msg("no dhcp clients found"); | 561 | bb_error_msg("no dhcp clients found"); |
@@ -592,7 +592,7 @@ static int FAST_FUNC dhcp_down(struct interface_defn_t *ifd, execfn *exec) | |||
592 | unsigned i; | 592 | unsigned i; |
593 | 593 | ||
594 | for (i = 0; i < ARRAY_SIZE(ext_dhcp_clients); i++) { | 594 | for (i = 0; i < ARRAY_SIZE(ext_dhcp_clients); i++) { |
595 | if (exists_execable(ext_dhcp_clients[i].name)) { | 595 | if (executable_exists(ext_dhcp_clients[i].name)) { |
596 | result = execute(ext_dhcp_clients[i].stopcmd, ifd, exec); | 596 | result = execute(ext_dhcp_clients[i].stopcmd, ifd, exec); |
597 | if (result) | 597 | if (result) |
598 | break; | 598 | break; |