Skip to content

Commit

Permalink
libnss_mxshadow.c: Remove perror call
Browse files Browse the repository at this point in the history
Remove perror() and leave error reporting to the caller.
  • Loading branch information
donald committed May 7, 2021
1 parent 0ba8f45 commit c33baec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libnss_mxshadow.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ enum nss_status _nss_mxshadow_getspnam_r(const char *name, struct spwd *spwd, ch

int status = get_shadow_line_from_server_v2((char *)name, &line);
if (status == -1) {
perror(__func__);
return NSS_STATUS_UNAVAIL;
}
size_t len = strlen(line);
Expand Down

0 comments on commit c33baec

Please sign in to comment.