diff options
author | Rob Landley <rob@landley.net> | 2012-07-21 18:38:36 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-07-21 18:38:36 -0500 |
commit | 6ba38c2c79c12c5f2227ee4a87c9875fae407332 (patch) | |
tree | e63a13020909ab6a881b4283465284af3fbbcd82 /lib | |
parent | 6d878191f18b89ac6c40f078fd62e8b61f484023 (diff) | |
download | toybox-6ba38c2c79c12c5f2227ee4a87c9875fae407332.tar.gz |
Use "_password" instead of "_passwd" for names in lib/password.c.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lib.h | 4 | ||||
-rw-r--r-- | lib/password.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -170,6 +170,6 @@ char *num_to_sig(int sig); mode_t string_to_mode(char *mode_str, mode_t base); // password helper functions -int read_passwd(char * buff, int buflen, char* mesg); -int update_passwd(char *filename, char* username, char* encrypted); +int read_password(char * buff, int buflen, char* mesg); +int update_password(char *filename, char* username, char* encrypted); diff --git a/lib/password.c b/lib/password.c index 2b11144e..8221a022 100644 --- a/lib/password.c +++ b/lib/password.c @@ -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 @@ static char *get_nextcolon(const char *line, char delim) 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; |