chiark / gitweb /
treewide: auto-convert the simple cases to log_*_errno()
[elogind.git] / src / quotacheck / quotacheck.c
index 6f39dae2afb6cb27e29e64657e3c2362e30fb825..4ebce5cd037de9af4cb46b260503cdd22ae7618a 100644 (file)
@@ -89,7 +89,7 @@ int main(int argc, char *argv[]) {
 
         r = parse_proc_cmdline(parse_proc_cmdline_item);
         if (r < 0)
-                log_warning("Failed to parse kernel command line, ignoring: %s", strerror(-r));
+                log_warning_errno(-r, "Failed to parse kernel command line, ignoring: %m");
 
         test_files();