summaryrefslogtreecommitdiff
path: root/src/shared/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-01 08:49:33 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-01 08:49:33 +0200
commit966bff2660a13c82b70a1e1ac4f1a48bb33d7f7e (patch)
tree46d0b3f2ab28b507665ff70b81ea6c33af88ac16 /src/shared/util.c
parent267b3e41df5a2181f2911433539f81de2fa1511a (diff)
timesyncd: split privilege dropping code out of timesyncd so that we can make use of it from other daemons too
This is preparation to make networkd work as unpriviliged user.
Diffstat (limited to 'src/shared/util.c')
-rw-r--r--src/shared/util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index 17b0ae16cf..4a3e35f356 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -6480,8 +6480,7 @@ void hexdump(FILE *f, const void *p, size_t s) {
}
}
-int update_reboot_param_file(const char *param)
-{
+int update_reboot_param_file(const char *param) {
int r = 0;
if (param) {