[git commit] tunctl: code shrink

Denys Vlasenko vda.linux at googlemail.com
Mon May 29 12:47:10 UTC 2023


commit: https://git.busybox.net/busybox/commit/?id=fe0b7985483a93d3416e0e5c9e761b6ee1ba310b
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

function                                             old     new   delta
.rodata                                           105246  105243      -3
tunctl_main                                          349     344      -5
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-8)               Total: -8 bytes

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/tunctl.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/networking/tunctl.c b/networking/tunctl.c
index 97e6917aa..28571ae7f 100644
--- a/networking/tunctl.c
+++ b/networking/tunctl.c
@@ -124,8 +124,7 @@ int tunctl_main(int argc UNUSED_PARAM, char **argv)
 	if (opts & OPT_b) {
 		puts(ifr.ifr_name);
 	} else {
-		printf("Set '%s' %spersistent", ifr.ifr_name, "");
-		printf(" and owned by uid %ld", user);
+		printf("Set '%s' persistent and owned by uid %ld", ifr.ifr_name, user);
 		if (group != -1)
 			printf(" gid %ld", group);
 		bb_putchar('\n');


More information about the busybox-cvs mailing list