Skip to content

Commit 512cde7

Browse files
Merge pull request #8153 from rastogishubham/FixErrMsgStable
Fix error message for CAS ingestion
2 parents 8b7dbdf + a4cb2d5 commit 512cde7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/llvm-cas/llvm-cas.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ Error checkCASIngestPath(StringRef CASPath, StringRef DataPath) {
535535
if (std::error_code EC = sys::fs::real_path(StringRef(CASPath), RealCAS))
536536
return createFileError(CASPath, EC);
537537
if (std::error_code EC = sys::fs::real_path(StringRef(DataPath), RealData))
538-
return createFileError(CASPath, EC);
538+
return createFileError(DataPath, EC);
539539
if (RealCAS.startswith(RealData) &&
540540
(RealCAS.size() == RealData.size() ||
541541
sys::path::is_separator(RealCAS[RealData.size()])))

0 commit comments

Comments
 (0)