diff options
author | gavin <gavin@FreeBSD.org> | 2010-08-08 16:20:32 +0000 |
---|---|---|
committer | gavin <gavin@FreeBSD.org> | 2010-08-08 16:20:32 +0000 |
commit | 9127923cf12fc30587e8def1a8dc6cfad28dae60 (patch) | |
tree | e00632c3b6c42657d15603757ae3be66828090f2 /release/picobsd/tinyware | |
parent | 48a7f0957b5fa2da398cb0fb215b3ed0121cb85b (diff) | |
download | FreeBSD-src-9127923cf12fc30587e8def1a8dc6cfad28dae60.zip FreeBSD-src-9127923cf12fc30587e8def1a8dc6cfad28dae60.tar.gz |
Correct two error messages to match the failure they are reporting.
MFC after: 1 week
Diffstat (limited to 'release/picobsd/tinyware')
-rw-r--r-- | release/picobsd/tinyware/login/pico-login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/picobsd/tinyware/login/pico-login.c b/release/picobsd/tinyware/login/pico-login.c index b03dad5..89b322c 100644 --- a/release/picobsd/tinyware/login/pico-login.c +++ b/release/picobsd/tinyware/login/pico-login.c @@ -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); /* |