summaryrefslogtreecommitdiff
path: root/src/sysctl
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2015-08-04 15:46:34 +0200
committerJan Synacek <jsynacek@redhat.com>2015-08-05 09:42:50 +0200
commit9bcfdd74fc414f48a3c12d16c17c3e31102a0f62 (patch)
tree65b5941dc6d98bea330de5df15784b4b86703b3d /src/sysctl
parentee80b4b2977186883aab6b90adcb87c7a4b24ea3 (diff)
sysctl: bump loglevel when attempting to write invalid values
Diffstat (limited to 'src/sysctl')
-rw-r--r--src/sysctl/sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c
index fe277a2015..ee0f57cfec 100644
--- a/src/sysctl/sysctl.c
+++ b/src/sysctl/sysctl.c
@@ -51,7 +51,7 @@ static int apply_all(Hashmap *sysctl_options) {
k = sysctl_write(property, value);
if (k < 0) {
- log_full_errno(k == -ENOENT ? LOG_DEBUG : LOG_WARNING, k,
+ log_full_errno(k == -ENOENT ? LOG_INFO : LOG_WARNING, k,
"Failed to write '%s' to '%s': %m", value, property);
if (r == 0 && k != -ENOENT)