From: Arthur Taylor Date: Tue, 13 Feb 2018 19:51:19 +0000 (-0800) Subject: uaccess-command: [trivial] Differentiate apply vs reset error log messages. X-Git-Tag: v235.3~13 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e38c16d909d17371c8ec6e090f07da7a1f528ce6;p=elogind.git uaccess-command: [trivial] Differentiate apply vs reset error log messages. Also change systemd to logind in a comment. --- diff --git a/src/uaccess-command/uaccess-command.c b/src/uaccess-command/uaccess-command.c index efb9dcd62..df790e134 100644 --- a/src/uaccess-command/uaccess-command.c +++ b/src/uaccess-command/uaccess-command.c @@ -40,7 +40,7 @@ static int dev_uaccess(const char *path, const char *seat) { umask(0022); - /* don't muck around with ACLs when the system is not running systemd */ + /* don't muck around with ACLs when the system is not running logind */ if (!logind_running()) return 0; @@ -73,7 +73,7 @@ finish: /* Better be safe than sorry and reset ACL */ k = devnode_acl(path, true, false, 0, false, 0); if (k < 0) { - log_full_errno(errno == ENOENT ? LOG_DEBUG : LOG_ERR, k, "Failed to apply ACL on %s: %m", path); + log_full_errno(errno == ENOENT ? LOG_DEBUG : LOG_ERR, k, "Failed to reset ACL on %s: %m", path); if (r >= 0) r = k; }