aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-05-29 14:47:10 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2023-05-29 14:47:10 +0200
commitfe0b7985483a93d3416e0e5c9e761b6ee1ba310b (patch)
tree1b589fd39871cf3b29dc5f6f85e419598f30fdca
parent721bf6eaf4739a2865b071b38d3478f334234d26 (diff)
downloadbusybox-w32-fe0b7985483a93d3416e0e5c9e761b6ee1ba310b.tar.gz
busybox-w32-fe0b7985483a93d3416e0e5c9e761b6ee1ba310b.tar.bz2
busybox-w32-fe0b7985483a93d3416e0e5c9e761b6ee1ba310b.zip
tunctl: code shrink
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@googlemail.com>
-rw-r--r--networking/tunctl.c3
1 files changed, 1 insertions, 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)
124 if (opts & OPT_b) { 124 if (opts & OPT_b) {
125 puts(ifr.ifr_name); 125 puts(ifr.ifr_name);
126 } else { 126 } else {
127 printf("Set '%s' %spersistent", ifr.ifr_name, ""); 127 printf("Set '%s' persistent and owned by uid %ld", ifr.ifr_name, user);
128 printf(" and owned by uid %ld", user);
129 if (group != -1) 128 if (group != -1)
130 printf(" gid %ld", group); 129 printf(" gid %ld", group);
131 bb_putchar('\n'); 130 bb_putchar('\n');