diff options
author | Nis Martensen <nis.martensen@web.de> | 2014-05-18 15:43:18 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-05-19 00:40:44 +0900 |
commit | f1721625e7145977ba705e169580f2eb0002600c (patch) | |
tree | 3155b020761a008b109b136199c88ed78d007614 /src/timesync | |
parent | 8891f695c71bd4c266d827c9aaedbbbbaf79d3eb (diff) |
fix spelling of privilege
Diffstat (limited to 'src/timesync')
-rw-r--r-- | src/timesync/timesyncd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timesync/timesyncd.c b/src/timesync/timesyncd.c index 19e6d67c63..6e63e34d87 100644 --- a/src/timesync/timesyncd.c +++ b/src/timesync/timesyncd.c @@ -1141,7 +1141,7 @@ static int manager_network_monitor_listen(Manager *m) { return 0; } -static int drop_priviliges(void) { +static int drop_privileges(void) { static const cap_value_t bits[] = { CAP_SYS_TIME, }; @@ -1152,7 +1152,7 @@ static int drop_priviliges(void) { gid_t gid; int r; - /* Unfortunately we cannot leave privilige dropping to PID 1 + /* Unfortunately we cannot leave privilege dropping to PID 1 * here, since we want to run as user but want to keep te * CAP_SYS_TIME capability. Since file capabilities have been * introduced this cannot be done across exec() anymore, @@ -1231,7 +1231,7 @@ int main(int argc, char *argv[]) { umask(0022); - r = drop_priviliges(); + r = drop_privileges(); if (r < 0) goto out; |