diff options
author | Denys Vlasenko | 2017-09-29 18:17:25 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-09-29 18:17:25 +0200 |
commit | 6f97b30a904407c1f1701d937d9258ca9175c6ab (patch) | |
tree | 093a86cb555fb3e7f365cea21095a7df8d5dce77 /networking/udhcp/d6_dhcpc.c | |
parent | f625836e6059d307e951a60b60f1c9ed259ee983 (diff) | |
download | busybox-6f97b30a904407c1f1701d937d9258ca9175c6ab.zip busybox-6f97b30a904407c1f1701d937d9258ca9175c6ab.tar.gz |
use %m printf specifier where appropriate
function old new delta
out 85 75 -10
udhcpd_main 1472 1461 -11
open_stdio_to_tty 98 85 -13
init_exec 245 232 -13
udhcpc_main 2763 2749 -14
do_cmd 4771 4755 -16
status_line_bold_errno 32 14 -18
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-95) Total: -95 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/d6_dhcpc.c')
-rw-r--r-- | networking/udhcp/d6_dhcpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c index c13f235..37ffd06 100644 --- a/networking/udhcp/d6_dhcpc.c +++ b/networking/udhcp/d6_dhcpc.c @@ -1432,7 +1432,7 @@ int udhcpc6_main(int argc UNUSED_PARAM, char **argv) len = d6_recv_raw_packet(&srv6_buf, &packet, sockfd); if (len == -1) { /* Error is severe, reopen socket */ - bb_error_msg("read error: %s, reopening socket", strerror(errno)); + bb_error_msg("read error: "STRERROR_FMT", reopening socket" STRERROR_ERRNO); sleep(discover_timeout); /* 3 seconds by default */ change_listen_mode(listen_mode); /* just close and reopen */ } |