NULL);
if (r < 0 && r != -ENOENT) {
- log_warning_errno(-r, "Failed to read /proc/cmdline: %m");
+ log_warning_errno(r, "Failed to read /proc/cmdline: %m");
goto finish;
}
map,
&info);
if (r < 0) {
- log_error_errno(-r, "Could not get properties: %m");
+ log_error_errno(r, "Could not get properties: %m");
goto fail;
}
r = get_locales(&l);
if (r < 0) {
- log_error_errno(-r, "Failed to read list of locales: %m");
+ log_error_errno(r, "Failed to read list of locales: %m");
return r;
}
r = set_consume(keymaps, p);
if (r < 0 && r != -EEXIST) {
- log_error_errno(-r, "Can't add keymap: %m");
+ log_error_errno(r, "Can't add keymap: %m");
return r;
}
r = bus_open_transport(arg_transport, arg_host, false, &bus);
if (r < 0) {
- log_error_errno(-r, "Failed to create bus connection: %m");
+ log_error_errno(r, "Failed to create bus connection: %m");
goto finish;
}