OSDN Git Service

fix format problems in tar.c
authorElliott Hughes <enh@google.com>
Sun, 1 Mar 2015 22:11:50 +0000 (16:11 -0600)
committerElliott Hughes <enh@google.com>
Sun, 1 Mar 2015 22:11:50 +0000 (16:11 -0600)
commit4bbec1e41580c9200cae03c9549fb032596b2b30
tree45ea03d57414302ec8bfe7ca40e591500ae35bc6
parent30c36d87280f3c45db157056b94ff67922f03fbf
fix format problems in tar.c

%o is unsigned, but off_t is signed.
* takes an int.
an error_msg call was missing an argument.

only one of these is an actual error, but i'd like to fix the others
too so that we (toybox, but if not, then Android) can turn on format
string warnings to prevent future bugs like the stat.c LP32 ones.
toys/pending/tar.c