summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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