aboutsummaryrefslogtreecommitdiff
path: root/lib/password.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-07-21 18:38:36 -0500
committerRob Landley <rob@landley.net>2012-07-21 18:38:36 -0500
commit6ba38c2c79c12c5f2227ee4a87c9875fae407332 (patch)
treee63a13020909ab6a881b4283465284af3fbbcd82 /lib/password.c
parent6d878191f18b89ac6c40f078fd62e8b61f484023 (diff)
downloadtoybox-6ba38c2c79c12c5f2227ee4a87c9875fae407332.tar.gz
Use "_password" instead of "_passwd" for names in lib/password.c.
Diffstat (limited to 'lib/password.c')
-rw-r--r--lib/password.c4
1 files changed, 2 insertions, 2 deletions
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;