aboutsummaryrefslogtreecommitdiff
path: root/miscutils/adjtimex.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-08-16 11:48:48 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2013-08-16 11:48:48 +0200
commitd2e07bc16cbd68bc2771f9f163e610e4e327c67c (patch)
tree737d5309821fd44427754223965ec596bfa1fcf8 /miscutils/adjtimex.c
parent73fbe9dc86df6c7db425c2c3939ff98c8c44974e (diff)
downloadbusybox-d2e07bc16cbd68bc2771f9f163e610e4e327c67c.tar.gz
init: don't use fixed size buffer for command
We store init actions forever. 256 bytes per action means that a typical inittab of ~10 commands uses 2.5k just to remember command strings - which are usually _much_ shorter than 256 bytes. At a cost of a bit more code, it's possible to allocate only actually needed amount. function old new delta init_exec 224 248 +24 new_init_action 140 142 +2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/adjtimex.c')
0 files changed, 0 insertions, 0 deletions