From ad1310e435d23db47bf826666e1670ca12b6f196 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 20 Sep 2019 04:40:38 +0000 Subject: [PATCH] [Object] Uncapitalize an error message Test case will be added by my next commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372369 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Object/Archive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Object/Archive.cpp b/lib/Object/Archive.cpp index fd9609f65bc..148c011d9cd 100644 --- a/lib/Object/Archive.cpp +++ b/lib/Object/Archive.cpp @@ -550,7 +550,7 @@ Archive::Archive(MemoryBufferRef Source, Error &Err) } else if (Buffer.startswith(Magic)) { IsThin = false; } else { - Err = make_error("File too small to be an archive", + Err = make_error("file too small to be an archive", object_error::invalid_file_type); return; } -- 2.50.1