mirror of
https://github.com/systemd/systemd.git
synced 2025-03-30 10:50:15 +03:00
log: Add missing "%" in "%m" log format strings
These were clearly intended to be "%m" to display the human readable version of the error stored in errno.
This commit is contained in:
parent
a007d6fc2a
commit
28b77ab246
@ -2789,7 +2789,7 @@ int unit_enqueue_rewatch_pids(Unit *u) {
|
||||
|
||||
r = sd_event_source_set_priority(s, SD_EVENT_PRIORITY_IDLE);
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to adjust priority of event source for tidying watched PIDs: m");
|
||||
return log_error_errno(r, "Failed to adjust priority of event source for tidying watched PIDs: %m");
|
||||
|
||||
(void) sd_event_source_set_description(s, "tidy-watch-pids");
|
||||
|
||||
|
@ -876,7 +876,7 @@ static int verify_esp_blkid(
|
||||
errno = 0;
|
||||
r = blkid_probe_lookup_value(b, "PART_ENTRY_NUMBER", &v, NULL);
|
||||
if (r != 0)
|
||||
return log_error_errno(errno ?: SYNTHETIC_ERRNO(EIO), "Failed to probe partition number of \"%s\": m", node);
|
||||
return log_error_errno(errno ?: SYNTHETIC_ERRNO(EIO), "Failed to probe partition number of \"%s\": %m", node);
|
||||
r = safe_atou32(v, &part);
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to parse PART_ENTRY_NUMBER field.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user