diff options
author | Denys Vlasenko | 2021-02-21 16:32:07 +0100 |
---|---|---|
committer | Denys Vlasenko | 2021-02-21 16:32:07 +0100 |
commit | a4959eef71067dd6763bf60113bdeafdcb5f2d91 (patch) | |
tree | 91c59d7cc891f725432abc746122afc7b6bd5870 /networking/udhcp/dhcpc.c | |
parent | 855aeacfba83a776f529da7a82b749081652a486 (diff) | |
download | busybox-a4959eef71067dd6763bf60113bdeafdcb5f2d91.zip busybox-a4959eef71067dd6763bf60113bdeafdcb5f2d91.tar.gz |
udhcp: reuse strings
text data bss dec hex filename
1019916 559 5020 1025495 fa5d7 busybox_old
1019906 559 5020 1025485 fa5cd busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpc.c')
-rw-r--r-- | networking/udhcp/dhcpc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index f1f6720..bbcbd1f 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c @@ -1655,8 +1655,10 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv) } if (packet.xid != xid) { - log1("xid %x (our is %x), ignoring packet", - (unsigned)packet.xid, (unsigned)xid); + log1("xid %x (our is %x)%s", + (unsigned)packet.xid, (unsigned)xid, + ", ignoring packet" + ); continue; } |