Be slightly more accurate in an error message.
authorReid Spencer <rspencer@reidspencer.com>
Wed, 2 Mar 2005 05:45:56 +0000 (05:45 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 2 Mar 2005 05:45:56 +0000 (05:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20397 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Unix/Path.inc

index 99923335c5aab2a9f289a0775fdec0da30d65637..e37741bc2684113dacd3c8554d147a7aed1eb6f8 100644 (file)
@@ -340,7 +340,7 @@ void
 Path::getStatusInfo(StatusInfo& info) const {
   struct stat buf;
   if (0 != stat(path.c_str(), &buf)) {
-    ThrowErrno(std::string("Can't get status: ")+path);
+    ThrowErrno(std::string("Can't get status for path: ")+path);
   }
   info.fileSize = buf.st_size;
   info.modTime.fromEpochTime(buf.st_mtime);