diff options
Diffstat (limited to 'usr.bin/passwd/local_passwd.c')
-rw-r--r-- | usr.bin/passwd/local_passwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/passwd/local_passwd.c b/usr.bin/passwd/local_passwd.c index 004a7ff5cad..32b4de55486 100644 --- a/usr.bin/passwd/local_passwd.c +++ b/usr.bin/passwd/local_passwd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: local_passwd.c,v 1.61 2021/08/29 15:22:24 robert Exp $ */ +/* $OpenBSD: local_passwd.c,v 1.62 2021/10/24 21:24:17 deraadt Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -150,7 +150,7 @@ local_passwd(char *uname, int authenticated) } if (i >= 4) fputc('\n', stderr); - pfd = open(_PATH_MASTERPASSWD, O_RDONLY | O_CLOEXEC, 0); + pfd = open(_PATH_MASTERPASSWD, O_RDONLY | O_CLOEXEC); if (pfd == -1) pw_error(_PATH_MASTERPASSWD, 1, 1); |