aboutsummaryrefslogtreecommitdiff
path: root/lib/password.c
diff options
context:
space:
mode:
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;