diff --git a/lld/ELF/DriverUtils.cpp b/lld/ELF/DriverUtils.cpp index a662b3cfca5b..851166eb4a27 100644 --- a/lld/ELF/DriverUtils.cpp +++ b/lld/ELF/DriverUtils.cpp @@ -88,7 +88,8 @@ void elf::printVersion() { outs() << "LLD " << getLLDVersion(); std::string S = getLLDRepositoryVersion(); if (!S.empty()) - outs() << " " << S << "\n"; + outs() << " " << S; + outs() << "\n"; } std::string elf::findFromSearchPaths(StringRef Path) {