aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/blaze.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/cpp/blaze.cc')
-rw-r--r--src/main/cpp/blaze.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/cpp/blaze.cc b/src/main/cpp/blaze.cc
index 65e1522dc3..b5a330a2f8 100644
--- a/src/main/cpp/blaze.cc
+++ b/src/main/cpp/blaze.cc
@@ -1000,8 +1000,8 @@ static int GetServerPid(const string &server_dir) {
// TODO(lberki): Remove the readlink() call when there is no chance of an old
// server lingering around. Probably safe after 2016.06.01.
int len;
- string pid_file = blaze_util::JoinPath(server_dir, ServerPidFile());
- string pid_symlink = blaze_util::JoinPath(server_dir, ServerPidSymlink());
+ string pid_file = blaze_util::JoinPath(server_dir, kServerPidFile);
+ string pid_symlink = blaze_util::JoinPath(server_dir, kServerPidSymlink);
len = readlink(pid_symlink.c_str(), buf, sizeof(buf) - 1);
if (len < 0) {
int fd = open(pid_file.c_str(), O_RDONLY);