diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-03-01 18:38:32 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-03-05 16:50:58 +0100 |
commit | dba33c4a2c53f1dca6edc1661b608f2c52ba6465 (patch) | |
tree | e8e75609233adf05654a6ef2e185e751a185646e /src/shared | |
parent | 93f14ce28d8477ad70ba6a60299b84af794e18b0 (diff) | |
download | systemd-dba33c4a2c53f1dca6edc1661b608f2c52ba6465.tar.gz |
bootspec: correct error code shown in log msg
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 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; } |