Mercurial > hg > toybox
view lib/pending.h @ 1715:a471f338b055 draft
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.
author | Elliott Hughes <enh@google.com> |
---|---|
date | Sun, 01 Mar 2015 16:11:50 -0600 |
parents | cf77c4939385 |
children |
line wrap: on
line source
// pending.h - header for pending.c // password.c #define MAX_SALT_LEN 20 //3 for id, 16 for key, 1 for '\0' int read_password(char * buff, int buflen, char* mesg); int update_password(char *filename, char* username, char* encrypted);