summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/sys/windows/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/sys/windows/Path.cpp b/qpid/cpp/src/qpid/sys/windows/Path.cpp
index ce04bb17fd..abcaee2574 100644
--- a/qpid/cpp/src/qpid/sys/windows/Path.cpp
+++ b/qpid/cpp/src/qpid/sys/windows/Path.cpp
@@ -38,7 +38,7 @@ namespace {
bool getStat(const std::string& path, struct _stat& s) {
if (::_stat(path.c_str(), &s)) {
if (errno == ENOENT) return false;
- throw qpid::Exception (strError(errno) + ": Invalid path: " + path);
+ throw qpid::Exception("cannot stat: " + path + ": " + strError(errno))
}
return true;
}