summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-07-26 13:53:49 -0700
committerChase Douglas <chase.douglas@canonical.com>2012-07-26 13:54:31 -0700
commit4e8c128f225ab8466aab44c7edc4c0267b274bbb (patch)
treebc8fcb1b0bfba07b5f650f33a648483735d9fcf6
parent42ecdb34c385ee286347c782936e2eed4737bb95 (diff)
Print the correct file when log file is not writeable
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r--src/xserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xserver.cpp b/src/xserver.cpp
index bb25373..6449954 100644
--- a/src/xserver.cpp
+++ b/src/xserver.cpp
@@ -267,7 +267,7 @@ void xorg::testing::XServer::TestStartup(void) {
if (log_test.fail()) {
std::string message;
message += "X.org server log file ";
- message += d_->options["-config"];
+ message += d_->options["-logfile"];
message += " is not writable.";
throw std::runtime_error(message);
}