summaryrefslogtreecommitdiffstats
path: root/base/watchdog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/watchdog.cc')
-rw-r--r--base/watchdog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/watchdog.cc b/base/watchdog.cc
index 96dd9b9..06ab871 100644
--- a/base/watchdog.cc
+++ b/base/watchdog.cc
@@ -135,7 +135,7 @@ unsigned Watchdog::Run() {
void Watchdog::SetThreadName() const {
std::string name = StringPrintf("%s Watchdog",
WideToASCII(thread_watched_name_).c_str());
- PlatformThread::SetName(thread_id_, name.c_str());
+ PlatformThread::SetName(name.c_str());
DLOG(INFO) << "Watchdog active: " << name;
}