diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-07-02 18:03:25 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-07-02 18:03:56 +0200 |
commit | bd68e99bd005de29c2cbf6adfb4c6938ee571f61 (patch) | |
tree | bb704c1bcd67a278d6c4e7714244a443cfae71e2 /src/nspawn/nspawn-cgroup.c | |
parent | core/loopback-setup: make log messages nicer (diff) | |
download | systemd-bd68e99bd005de29c2cbf6adfb4c6938ee571f61.tar.xz systemd-bd68e99bd005de29c2cbf6adfb4c6938ee571f61.zip |
Be slightly more verbose in error message
Including the full path is always useful.
Also use PID_FMT in one more place.
Diffstat (limited to '')
-rw-r--r-- | src/nspawn/nspawn-cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn-cgroup.c b/src/nspawn/nspawn-cgroup.c index d749756437..fd565c09cd 100644 --- a/src/nspawn/nspawn-cgroup.c +++ b/src/nspawn/nspawn-cgroup.c @@ -49,7 +49,7 @@ static int chown_cgroup_path(const char *path, uid_t uid_shift) { "cgroup.subtree_control") if (fchownat(fd, fn, uid_shift, uid_shift, 0) < 0) log_full_errno(errno == ENOENT ? LOG_DEBUG : LOG_WARNING, errno, - "Failed to chown() cgroup file %s, ignoring: %m", fn); + "Failed to chown \"%s/%s\", ignoring: %m", path, fn); return 0; } |