summaryrefslogtreecommitdiff
path: root/src/error.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.cc')
-rw-r--r--src/error.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.cc b/src/error.cc
index 0b6f228d..c6309702 100644
--- a/src/error.cc
+++ b/src/error.cc
@@ -51,7 +51,7 @@ string error_context()
string file_context(const path& file, const std::size_t line)
{
std::ostringstream buf;
- buf << file << ", line " << line << ": ";
+ buf << '"' << file.string() << "\", line " << line << ": ";
return buf.str();
}