Update error to read a little better when an error occurs.

This commit is contained in:
Eric Christopher 2020-06-19 23:33:37 -07:00
parent 20d0ab6157
commit a1469914fd
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ int main(int argc, const char **argv) {
llvm::ErrorOr<std::vector<std::string>> AllowedPatterns =
GetAllowedSymbolPatterns();
if (!AllowedPatterns) {
llvm::errs() << "Failed to open Allowed file " << AllowedFile << ". "
llvm::errs() << "Failed to open allow file " << AllowedFile << ". "
<< AllowedPatterns.getError().message() << "\n";
return 1;
}