diff options
Diffstat (limited to 'modules/pam_selinux/pam_selinux_check.c')
-rw-r--r-- | modules/pam_selinux/pam_selinux_check.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/pam_selinux/pam_selinux_check.c b/modules/pam_selinux/pam_selinux_check.c index 73c77fa0..30526d37 100644 --- a/modules/pam_selinux/pam_selinux_check.c +++ b/modules/pam_selinux/pam_selinux_check.c @@ -129,10 +129,8 @@ main (int argc, char **argv) childPid = fork(); if (childPid < 0) { - int errsv = errno; - /* error in fork() */ - fprintf(stderr, _("login: failure forking: %s"), strerror(errsv)); + fprintf(stderr, _("login: failure forking: %m")); pam_close_session(pamh, 0); /* We're done with PAM. Free `pam_handle'. */ pam_end( pamh, PAM_SUCCESS ); |