aboutsummaryrefslogtreecommitdiff
path: root/archival/tar.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartekgola@gmail.com>2015-06-05 10:27:28 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2015-06-07 18:05:34 +0200
commit314742747deecd454ae58dfd68be453115ba226c (patch)
tree1cec4e02ab66823bd559835f8e9360284882dd49 /archival/tar.c
parentd291c2fdd5cb8616605c67ecbfb04274fa094242 (diff)
downloadbusybox-314742747deecd454ae58dfd68be453115ba226c.tar.gz
i2cdetect: don't die on addresses already in use by drivers
We can't use i2c_set_slave_addr() in i2cdetect, as we have to check for EBUSY after calling ioctl(I2C_SLAVE) and print 'UU' on busy addresses instead of bailing-out. While we're at it: reorder definitions of local vars in i2cdetect_main(). function old new delta i2cdetect_main 703 744 +41 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 41/0) Total: 41 bytes text data bss dec hex filename 826097 4164 9584 839845 cd0a5 busybox_old 826145 4164 9584 839893 cd0d5 busybox_unstripped Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/tar.c')
0 files changed, 0 insertions, 0 deletions