summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-03-01 18:38:32 +0100
committerLennart Poettering <lennart@poettering.net>2019-03-05 16:50:58 +0100
commitdba33c4a2c53f1dca6edc1661b608f2c52ba6465 (patch)
treee8e75609233adf05654a6ef2e185e751a185646e /src/shared
parent93f14ce28d8477ad70ba6a60299b84af794e18b0 (diff)
downloadsystemd-dba33c4a2c53f1dca6edc1661b608f2c52ba6465.tar.gz
bootspec: correct error code shown in log msg
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/bootspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bootspec.c b/src/shared/bootspec.c
index d0841e8ee5..4ebb221a42 100644
--- a/src/shared/bootspec.c
+++ b/src/shared/bootspec.c
@@ -482,7 +482,7 @@ static int boot_entries_find_unified(
r = fd_verify_regular(fd);
if (r < 0) {
- log_warning_errno(errno, "File %s/%s is not regular, ignoring: %m", dir, de->d_name);
+ log_warning_errno(r, "File %s/%s is not regular, ignoring: %m", dir, de->d_name);
continue;
}