summaryrefslogtreecommitdiff
path: root/src/shared/sysctl-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/sysctl-util.c')
-rw-r--r--src/shared/sysctl-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/sysctl-util.c b/src/shared/sysctl-util.c
index 55f4e48601..1de0b94fd5 100644
--- a/src/shared/sysctl-util.c
+++ b/src/shared/sysctl-util.c
@@ -66,7 +66,7 @@ int sysctl_write(const char *property, const char *value) {
log_debug("Setting '%s' to '%s'", property, value);
p = strjoina("/proc/sys/", property);
- return write_string_file(p, value);
+ return write_string_file(p, value, 0);
}
int sysctl_read(const char *property, char **content) {