From f1721625e7145977ba705e169580f2eb0002600c Mon Sep 17 00:00:00 2001 From: Nis Martensen Date: Sun, 18 May 2014 15:43:18 +0200 Subject: fix spelling of privilege --- src/timesync/timesyncd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/timesync') 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; -- cgit v1.2.3-54-g00ecf