diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c index 4b82a991ed13..2a303994d461 100644 --- a/libexec/rshd/rshd.c +++ b/libexec/rshd/rshd.c @@ -39,7 +39,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)rshd.c 5.38 (Berkeley) 3/2/91";*/ -static char rcsid[] = "$Id: rshd.c,v 1.4 1994/02/18 18:34:24 cgd Exp $"; +static char rcsid[] = "$Id: rshd.c,v 1.5 1994/02/18 18:36:54 cgd Exp $"; #endif /* not lint */ /* @@ -459,7 +459,7 @@ fail: errorstr = "Permission denied.\n"; /* log the (failed) rsh request, if paranoid */ - if (paranoid || (pwd && pwd->pw_uid == 0)) { + if (paranoid || (pwd && pwd->pw_uid == 0)) syslog(LOG_INFO|LOG_AUTH, "rsh denied to %s@%s as %s: cmd='%s'; %s", remuser, hostname, locuser, cmdbuf,