From 9127923cf12fc30587e8def1a8dc6cfad28dae60 Mon Sep 17 00:00:00 2001 From: gavin Date: Sun, 8 Aug 2010 16:20:32 +0000 Subject: Correct two error messages to match the failure they are reporting. MFC after: 1 week --- release/picobsd/tinyware/login/pico-login.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release/picobsd') 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); /* -- cgit v1.1