diff options
author | Denys Vlasenko | 2021-09-10 09:48:55 +0200 |
---|---|---|
committer | Denys Vlasenko | 2021-09-10 09:48:55 +0200 |
commit | c00bcf2d2c41af832ca70c749f1300309bf1cb91 (patch) | |
tree | 8295670a304a21e01d5e0c80bed3432af4b02c41 | |
parent | c421388dcaa6adba9f2f7cda3be4537daa466355 (diff) | |
download | busybox-c00bcf2d2c41af832ca70c749f1300309bf1cb91.zip busybox-c00bcf2d2c41af832ca70c749f1300309bf1cb91.tar.gz |
libbb: reuse "bad port" error message string
function old new delta
.rodata 104251 104232 -19
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | libbb/xconnect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xconnect.c b/libbb/xconnect.c index f1983a6..0e0b247 100644 --- a/libbb/xconnect.c +++ b/libbb/xconnect.c @@ -231,7 +231,7 @@ IF_NOT_FEATURE_IPV6(sa_family_t af = AF_INET;) cp++; /* skip ':' */ port = bb_strtou(cp, NULL, 10); if (errno || (unsigned)port > 0xffff) { - bb_error_msg("bad port spec '%s'", org_host); + bb_error_msg("bad port '%s'", cp); if (ai_flags & DIE_ON_ERROR) xfunc_die(); return NULL; |