]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/util.c
util: fix physical_memory() to work correctly on cgroupsv2
authorLennart Poettering <lennart@poettering.net>
Thu, 17 May 2018 02:27:58 +0000 (22:27 -0400)
committerLennart Poettering <lennart@poettering.net>
Thu, 24 May 2018 10:14:48 +0000 (12:14 +0200)
commitbd969ee6ef2bf7698c0800ccf872f5cb6e183613
tree8bdc8b2461cf04c706f89ec94f874909bb1c4198
parent6e2d744b2f8ce8dac0bc686db217c4f45d3148d2
util: fix physical_memory() to work correctly on cgroupsv2

Let's look into the right cgroupsv2 attribute.

Also, while we are at it, add debug logging for all error conditions we
eat up silently otherwise.
src/basic/util.c