summaryrefslogtreecommitdiffstats
path: root/mbbsd/passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/passwd.c')
-rw-r--r--mbbsd/passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/passwd.c b/mbbsd/passwd.c
index 7fbb7d96..0c44d894 100644
--- a/mbbsd/passwd.c
+++ b/mbbsd/passwd.c
@@ -79,7 +79,7 @@ passwd_sync_update(int num, userec_t * buf)
int
passwd_sync_query(int num, userec_t * buf)
{
- if (passwd_sync_query(num, buf) < 0)
+ if (passwd_query(num, buf) < 0)
return -1;
if (buf == &cuser)