From 0dfcc6619b13b787a95cbd2318eb4c89cc87c4b7 Mon Sep 17 00:00:00 2001 From: Christian Brueffer Date: Sun, 30 Oct 2011 12:33:19 +0000 Subject: [PATCH] Fix a misplaced parenthesis. PR: 162164 Submitted by: Henning Petersen MFC after: 1 week --- libexec/rshd/rshd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c index ec1725147546..82af6a46f5db 100644 --- a/libexec/rshd/rshd.c +++ b/libexec/rshd/rshd.c @@ -317,7 +317,7 @@ doit(struct sockaddr *fromp) } if ((pam_err = pam_set_item(pamh, PAM_RUSER, ruser)) != PAM_SUCCESS || - (pam_err = pam_set_item(pamh, PAM_RHOST, rhost) != PAM_SUCCESS)) { + (pam_err = pam_set_item(pamh, PAM_RHOST, rhost)) != PAM_SUCCESS) { syslog(LOG_ERR|LOG_AUTH, "pam_set_item(): %s", pam_strerror(pamh, pam_err)); rshd_errx(1, "Login incorrect.");