summaryrefslogtreecommitdiffstats
path: root/usr.bin/login/login.c
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-04-25 08:59:51 +0000
committersheldonh <sheldonh@FreeBSD.org>2000-04-25 08:59:51 +0000
commit7dbc44ea9253465e587b32df22ba4bef4b564e19 (patch)
tree3f9fac606ae9fb81e461b691f821cf4e9450018a /usr.bin/login/login.c
parent349f5760a267d1ca4eb2c1283c054269a8b31365 (diff)
downloadFreeBSD-src-7dbc44ea9253465e587b32df22ba4bef4b564e19.zip
FreeBSD-src-7dbc44ea9253465e587b32df22ba4bef4b564e19.tar.gz
Fix excessive use of parenthesis in previous commit.
Requested by: bde
Diffstat (limited to 'usr.bin/login/login.c')
-rw-r--r--usr.bin/login/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c
index 2a0faaf..e6dc807 100644
--- a/usr.bin/login/login.c
+++ b/usr.bin/login/login.c
@@ -493,7 +493,7 @@ main(argc, argv)
* Since it isn't clear that flags are useful on character
* devices, we just clear them.
*/
- if (chflags(ttyn, 0) && (errno != EOPNOTSUPP))
+ if (chflags(ttyn, 0) && errno != EOPNOTSUPP)
syslog(LOG_ERR, "chmod(%s): %m", ttyn);
if (chown(ttyn, pwd->pw_uid,
(gr = getgrnam(TTYGRPNAME)) ? gr->gr_gid : pwd->pw_gid))
OpenPOWER on IntegriCloud