Fix a bug caused by change in the interface of Archive::writeToDisk.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29869 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp
index 55a60a3..7f13bf2 100644
--- a/tools/llvm-ar/llvm-ar.cpp
+++ b/tools/llvm-ar/llvm-ar.cpp
@@ -511,7 +511,7 @@
   }
 
   // We're done editting, reconstruct the archive.
-  if (!TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
+  if (TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
     return true;
   if (ReallyVerbose)
     printSymbolTable();
@@ -566,7 +566,7 @@
   }
 
   // We're done editting, reconstruct the archive.
-  if (!TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
+  if (TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
     return true;
   if (ReallyVerbose)
     printSymbolTable();
@@ -591,7 +591,7 @@
   }
 
   // We're done editting, reconstruct the archive.
-  if (!TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
+  if (TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
     return true;
   if (ReallyVerbose)
     printSymbolTable();
@@ -688,7 +688,7 @@
   }
 
   // We're done editting, reconstruct the archive.
-  if (!TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
+  if (TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
     return true;
   if (ReallyVerbose)
     printSymbolTable();