From b2e5fc35ebc127e2a1ac03c7ff0719b1e6b6cd6b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 25 Nov 2009 14:52:47 +0100 Subject: ntpd: and real handling for -N, show usage w/o options; trim text function old new delta ntp_init 317 348 +31 bb_msg_you_must_be_root - 17 +17 xsocket 66 76 +10 changepath 195 194 -1 bb_msg_perm_denied_are_you_root 35 34 -1 send_tree 355 353 -2 count_lines 74 72 -2 must_be_root 17 - -17 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/4 up/down: 58/-23) Total: 35 bytes text data bss dec hexfilename 832873 441 7548 840862 cd49ebusybox_old 832839 441 7548 840828 cd47cbusybox_unstripped Signed-off-by: Denys Vlasenko --- networking/tcpudp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/tcpudp.c') diff --git a/networking/tcpudp.c b/networking/tcpudp.c index 25b3319ec..d0db33b79 100644 --- a/networking/tcpudp.c +++ b/networking/tcpudp.c @@ -239,7 +239,7 @@ int tcpudpsvd_main(int argc UNUSED_PARAM, char **argv) client = 0; if ((getuid() == 0) && !(opts & OPT_u)) { xfunc_exitcode = 100; - bb_error_msg_and_die("-U ssluser must be set when running as root"); + bb_error_msg_and_die(bb_msg_you_must_be_root); } if (opts & OPT_u) if (!uidgid_get(&sslugid, ssluser, 1)) { -- cgit v1.2.3