aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/login/login_fbtab.c
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2000-04-25 08:59:51 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2000-04-25 08:59:51 +0000
commit508d9a5b5903d3fcd8235ef6f6227fb4f3cb2f09 (patch)
treefe0a68c60209fc549904869df5cd751e3063e213 /usr.bin/login/login_fbtab.c
parent58af1c5edd4e206b2b9dd7f697ee801b9ecec196 (diff)
Notes
Diffstat (limited to 'usr.bin/login/login_fbtab.c')
-rw-r--r--usr.bin/login/login_fbtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/login/login_fbtab.c b/usr.bin/login/login_fbtab.c
index ab718cd2f783..846033ceca92 100644
--- a/usr.bin/login/login_fbtab.c
+++ b/usr.bin/login/login_fbtab.c
@@ -134,7 +134,7 @@ gid_t gid;
if (strcmp("/*", path + pathlen - 2) != 0) {
/* clear flags of the device */
- if (chflags(path, 0) && (errno != ENOENT) && (errno != EOPNOTSUPP))
+ if (chflags(path, 0) && errno != ENOENT && errno != EOPNOTSUPP)
syslog(LOG_ERR, "%s: chflags(%s): %m", table, path);
if (chmod(path, mask) && errno != ENOENT)
syslog(LOG_ERR, "%s: chmod(%s): %m", table, path);