Mercurial > hg > toybox
diff lib/password.c @ 637:9aeea680acc7
Use "_password" instead of "_passwd" for names in lib/password.c.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 21 Jul 2012 18:38:36 -0500 |
parents | 77d94b36aff0 |
children | 786841fdb1e0 |
line wrap: on
line diff
--- a/lib/password.c Sat Jul 21 18:37:26 2012 -0500 +++ b/lib/password.c Sat Jul 21 18:38:36 2012 -0500 @@ -8,7 +8,7 @@ #include <time.h> -int read_passwd(char * buff, int buflen, char* mesg) +int read_password(char * buff, int buflen, char* mesg) { int i = 0; struct termios termio, oldtermio; @@ -52,7 +52,7 @@ return current_ptr; } -int update_passwd(char *filename, char* username, char* encrypted) +int update_password(char *filename, char* username, char* encrypted) { char *filenamesfx = NULL, *namesfx = NULL; char *shadow = NULL, *sfx = NULL;