Browse Source

2nd arg to pw_mkdb()

OPENBSD_3_0
millert 23 years ago
parent
commit
17d95e498c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libutil/check_expire.c

+ 2
- 2
src/lib/libutil/check_expire.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: check_expire.c,v 1.2 2001/08/16 18:34:40 millert Exp $ */
/* $OpenBSD: check_expire.c,v 1.3 2001/08/16 18:39:20 millert Exp $ */
/* /*
* Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved. * Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
@ -182,7 +182,7 @@ pwd_update(pwd)
} }
pw_copy(pfd, tfd, pwd); pw_copy(pfd, tfd, pwd);
if (pw_mkdb(pwd->pw_name) < 0) {
if (pw_mkdb(pwd->pw_name, 0) < 0) {
pw_abort(); pw_abort();
return("unable to update password database"); return("unable to update password database");
} }


Loading…
Cancel
Save