chiark / gitweb /
treewide: more log_*_errno() conversions, multiline calls
[elogind.git] / src / shared / sleep-config.c
index e6157f0e948438775c08b43974a28e20cb2261b8..0fd307d0b06c55b5e9386987605ea32347234e1d 100644 (file)
@@ -233,8 +233,8 @@ static bool enough_memory_for_hibernation(void) {
 
         r = safe_atollu(active, &act);
         if (r < 0) {
-                log_error("Failed to parse Active(anon) from /proc/meminfo: %s: %s",
-                          active, strerror(-r));
+                log_error_errno(r, "Failed to parse Active(anon) from /proc/meminfo: %s: %m",
+                                active);
                 return false;
         }