mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
pw: pw_mkdb(3) does not set errno
MFC after: 1 week Sponsored by: The FreeBSD Foundation Sponsored by: Klara, Inc.
This commit is contained in:
parent
4070ae0e9a
commit
b464c7a75e
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ pw_update(struct passwd * pwd, char const * user)
|
|||
*/
|
||||
if (pw_mkdb(pw != NULL ? pw->pw_name : NULL) == -1) {
|
||||
pw_fini();
|
||||
err(1, "pw_mkdb()");
|
||||
errx(1, "pw_mkdb()");
|
||||
}
|
||||
free(pw);
|
||||
pw_fini();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue