diff options
author | Noah Misch | 2016-04-02 01:53:18 +0000 |
---|---|---|
committer | Noah Misch | 2016-04-02 01:53:18 +0000 |
commit | c22650cd6450854e1a75064b698d7dcbb4a8821a (patch) | |
tree | cf9755ea9155b62a64c40ddd33af1e4231255e57 /src/common/exec.c | |
parent | 4ad6f13500cd9a3ca0652e43232f9515319e55e2 (diff) |
Refer to a TOKEN_USER payload as a "token user," not as a "user token".
This corrects messages for can't-happen errors. The corresponding "user
token" appears in the HANDLE argument of GetTokenInformation().
Diffstat (limited to 'src/common/exec.c')
-rw-r--r-- | src/common/exec.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/common/exec.c b/src/common/exec.c index 927d03c3b75..ec8c6556365 100644 --- a/src/common/exec.c +++ b/src/common/exec.c @@ -672,13 +672,10 @@ AddUserToTokenDacl(HANDLE hToken) goto cleanup; } - /* - * Get the user token for the current user, which provides us with the SID - * that is needed for creating the ACL. - */ + /* Get the current user SID */ if (!GetTokenUser(hToken, &pTokenUser)) { - log_error("could not get user token: error code %lu", GetLastError()); + log_error("could not get token user: error code %lu", GetLastError()); goto cleanup; } |