diff options
author | Gilad Arnold <garnold@google.com> | 2015-08-25 07:29:20 -0700 |
---|---|---|
committer | Gilad Arnold <garnold@google.com> | 2015-08-25 19:57:08 -0700 |
commit | 90cf470a3becacdfea8461f4848d51c1030436cd (patch) | |
tree | db4925d55b7abfc3f9bc1508ed83683d8ec49af4 | |
parent | 5c103d4734ef0dfa1fb2f3359d41505acd0478ca (diff) | |
download | tlsdate-90cf470a3becacdfea8461f4848d51c1030436cd.tar.gz |
Remove an accidental semicolon and fix a typo.
Bug: 22373707
Change-Id: I2a68db5a2a4afae896ad46a717ec944dee495730
-rw-r--r-- | src/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -120,8 +120,8 @@ void no_new_privs(void) // This happens in tlsdated earlier than when tlsdate-helper drops // privileges. if (0 == prctl (PR_GET_NO_NEW_PRIVS)) { - // Remove the ability to regain privilegess - if (0 != prctl (PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); + // Remove the ability to regain privileges. + if (0 != prctl (PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) die ("Failed to PR_SET_NO_NEW_PRIVS"); } else { verb ("V: Parent process has already set PR_SET_NO_NEW_PRIVS"); |