aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usergen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usergen.c b/usergen.c
index 5a0cf3c..53d2ff2 100644
--- a/usergen.c
+++ b/usergen.c
@@ -151,7 +151,7 @@ static int checkuser(const char *const username, const cJSON *const c)
return 0;
}
-static int getpass(char *const password, const size_t n)
+static int ugetpass(char *const password, const size_t n)
{
int ret = -1;
struct termios t, ne;
@@ -508,7 +508,7 @@ int main(int argc, char *argv[])
if (getuser(username, sizeof username)
|| checkuser(username, c)
- || getpass(password, sizeof password)
+ || ugetpass(password, sizeof password)
|| getquota(&quota)
|| getmethod(method, sizeof method)
|| !(o = createobj(c, username, hexkey, method, quota)))