Index: remoting/host/gnubby_auth_handler_posix.cc |
diff --git a/remoting/host/gnubby_auth_handler_posix.cc b/remoting/host/gnubby_auth_handler_posix.cc |
index f5673d33dd0efe035c92a164048905de36cb5b6f..24cd2a932a39e71bb20cd4dae8ebb8c00c4df10d 100644 |
--- a/remoting/host/gnubby_auth_handler_posix.cc |
+++ b/remoting/host/gnubby_auth_handler_posix.cc |
@@ -53,7 +53,7 @@ class CompareSocket { |
// Socket authentication function that only allows connections from callers with |
// the current uid. |
-bool MatchUid(uid_t user_id, gid_t) { |
+bool MatchUid(pid_t, uid_t user_id, gid_t) { |
bool allowed = user_id == getuid(); |
if (!allowed) |
HOST_LOG << "Refused socket connection from uid " << user_id; |