summaryrefslogtreecommitdiffstats
path: root/release/picobsd/tinyware
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2010-08-08 16:20:32 +0000
committergavin <gavin@FreeBSD.org>2010-08-08 16:20:32 +0000
commit9127923cf12fc30587e8def1a8dc6cfad28dae60 (patch)
treee00632c3b6c42657d15603757ae3be66828090f2 /release/picobsd/tinyware
parent48a7f0957b5fa2da398cb0fb215b3ed0121cb85b (diff)
downloadFreeBSD-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.c4
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);
/*
OpenPOWER on IntegriCloud