diff options
author | Filipe Brandenburger <filbranden@gmail.com> | 2019-09-25 00:31:27 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-09-25 09:28:26 +0200 |
commit | 28b77ab246b88d05076080bbd69ca3c353fa0f27 (patch) | |
tree | 1768a4242b0d8b6db4fbee6e02aa554f45b267c7 /src/shared | |
parent | Merge pull request #13481 from Antique/cgroupv2 (diff) | |
download | systemd-28b77ab246b88d05076080bbd69ca3c353fa0f27.tar.xz systemd-28b77ab246b88d05076080bbd69ca3c353fa0f27.zip |
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.
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/bootspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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."); |