aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/BinaryStreamError.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/BinaryStreamError.cpp')
-rw-r--r--llvm/lib/Support/BinaryStreamError.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/BinaryStreamError.cpp b/llvm/lib/Support/BinaryStreamError.cpp
index 60f5e21..cdc811d 100644
--- a/llvm/lib/Support/BinaryStreamError.cpp
+++ b/llvm/lib/Support/BinaryStreamError.cpp
@@ -47,7 +47,7 @@ BinaryStreamError::BinaryStreamError(stream_error_code C, StringRef Context)
}
}
-void BinaryStreamError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; }
+void BinaryStreamError::log(raw_ostream &OS) const { OS << ErrMsg; }
StringRef BinaryStreamError::getErrorMessage() const { return ErrMsg; }