projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83fe0be
)
efivars: downgrade log level in systemd_efi_options_efivarfs_if_newer()
author
Lennart Poettering
<lennart@poettering.net>
Tue, 22 Mar 2022 15:34:39 +0000
(16:34 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 24 Mar 2022 14:20:53 +0000
(15:20 +0100)
The only caller logs anyway, let's avoid duplicate logging above
LOG_DEBUG.
src/basic/efivars.c
patch
|
blob
|
history
diff --git
a/src/basic/efivars.c
b/src/basic/efivars.c
index 92b11cb2c57d999a8be2635d8c86f089e334f1e3..4dc9dbba6a93fe2a4c3fceb6d5b6d9e5bd7c9f7b 100644
(file)
--- a/
src/basic/efivars.c
+++ b/
src/basic/efivars.c
@@
-439,7
+439,8
@@
int systemd_efi_options_efivarfs_if_newer(char **line) {
r = read_efi_options_variable(line);
if (r < 0)
- return log_warning_errno(r, "Failed to read SystemdOptions EFI variable: %m");
+ return log_debug_errno(r, "Failed to read SystemdOptions EFI variable: %m");
+
return 0;
}
#endif