mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Correct two error messages to match the failure they are reporting.
MFC after: 1 week
This commit is contained in:
parent
15ec942da8
commit
84f583c47e
1 changed files with 2 additions and 2 deletions
|
|
@ -538,10 +538,10 @@ main(argc, argv)
|
|||
* devices, we just clear them.
|
||||
*/
|
||||
if (chflags(ttyn, 0) && errno != EOPNOTSUPP)
|
||||
syslog(LOG_ERR, "chmod(%s): %m", ttyn);
|
||||
syslog(LOG_ERR, "chflags(%s): %m", ttyn);
|
||||
if (chown(ttyn, pwd->pw_uid,
|
||||
(gr = getgrnam(TTYGRPNAME)) ? gr->gr_gid : pwd->pw_gid))
|
||||
syslog(LOG_ERR, "chmod(%s): %m", ttyn);
|
||||
syslog(LOG_ERR, "chown(%s): %m", ttyn);
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue