~vcs-imports/busybox/trunk

« back to all changes in this revision

Viewing changes to networking/tc.c

  • Committer: Denys Vlasenko
  • Date: 2023-07-17 15:29:36 UTC
  • Revision ID: git-v1:c484846c4459affa769b84cbd0b586f2bbaec828
introduce and use exitcode_t

function                                             old     new   delta
strings_main                                         422     420      -2
setfattr_main                                        175     173      -2
brctl_main                                          1548    1546      -2
makedevs_main                                        979     975      -4
rev_main                                             337     332      -5
getfattr_main                                        307     302      -5
cut_main                                            1201    1196      -5
cksum_main                                           398     393      -5
umount_main                                          573     565      -8
ln_main                                              516     508      -8
expand_main                                          660     652      -8
df_main                                             1068    1060      -8
renice_main                                          346     332     -14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/13 up/down: 0/-76)            Total: -76 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
502
502
        };
503
503
        struct rtnl_handle rth;
504
504
        struct tcmsg msg;
505
 
        int ret, obj, cmd, arg;
 
505
        int obj, cmd, arg;
506
506
        char *dev = NULL;
507
507
 
508
508
        INIT_G();
510
510
        if (!*++argv)
511
511
                bb_show_usage();
512
512
        xrtnl_open(&rth);
513
 
        ret = EXIT_SUCCESS;
514
513
 
515
514
        obj = index_in_substrings(objects, *argv++);
516
515
        if (obj < 0)
625
624
        if (ENABLE_FEATURE_CLEAN_UP) {
626
625
                rtnl_close(&rth);
627
626
        }
628
 
        return ret;
 
627
        return EXIT_SUCCESS;
629
628
}