summaryrefslogtreecommitdiffstats
path: root/libexec/rlogind/rlogind.c
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1995-12-02 18:23:00 +0000
committernate <nate@FreeBSD.org>1995-12-02 18:23:00 +0000
commit5e48a8dc668669a5864b9835a42b5a8c24108464 (patch)
treeedfbf82c98d3bf573da031d46c465fa9781931fa /libexec/rlogind/rlogind.c
parenta531c1a15720076e696b7ecb296c53191cf906c6 (diff)
downloadFreeBSD-src-5e48a8dc668669a5864b9835a42b5a8c24108464.zip
FreeBSD-src-5e48a8dc668669a5864b9835a42b5a8c24108464.tar.gz
Fix typo.
Diffstat (limited to 'libexec/rlogind/rlogind.c')
-rw-r--r--libexec/rlogind/rlogind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c
index 5de2a05..e88aa2e 100644
--- a/libexec/rlogind/rlogind.c
+++ b/libexec/rlogind/rlogind.c
@@ -302,7 +302,7 @@ doit(f, fromp)
if (f > 2) /* f should always be 0, but... */
(void) close(f);
setup_term(0);
- if (*lusername=='-')) {
+ if (*lusername=='-') {
syslog(LOG_ERR, "tried to pass user \"%s\" to login",
lusername);
fatal(STDERR_FILENO, "invalid user", 0);
OpenPOWER on IntegriCloud