summaryrefslogtreecommitdiff
path: root/src/environment.cpp
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@ubuntu.com>2011-12-07 12:02:05 -0800
committerChase Douglas <chase.douglas@ubuntu.com>2011-12-07 12:02:05 -0800
commit723704879e551b971e1e3504be7338e371d4981d (patch)
tree7921304b8687553a58601873cc5aa8d6a699e250 /src/environment.cpp
parent2a3c526f6f6d1e32a4f51bef557a26520fe01ef7 (diff)
Rename Process::pid() to Process::Pid() to follow naming conventions
Diffstat (limited to 'src/environment.cpp')
-rw-r--r--src/environment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/environment.cpp b/src/environment.cpp
index 05e372c..14e3310 100644
--- a/src/environment.cpp
+++ b/src/environment.cpp
@@ -69,7 +69,7 @@ void xorg::testing::Environment::SetUp() {
int status;
int pid = d_->process.Wait(&status, WNOHANG);
- if (pid == d_->process.pid()) {
+ if (pid == d_->process.Pid()) {
throw std::runtime_error("Dummy X server failed to start, did you run as "
"root?");
} else if (pid == 0) {