diff --git a/src/core/unit.c b/src/core/unit.c index 9ea8c1e66c..b9fb7dbc0e 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -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"); diff --git a/src/shared/bootspec.c b/src/shared/bootspec.c index 3b4c99e9ee..355b1bebf6 100644 --- a/src/shared/bootspec.c +++ b/src/shared/bootspec.c @@ -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.");