diff options
-rw-r--r-- | elfinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elfinfo.cpp b/elfinfo.cpp index 985a2de..08c6c5b 100644 --- a/elfinfo.cpp +++ b/elfinfo.cpp @@ -194,7 +194,7 @@ int main(int argc, char **argv) { memoryAreas.insert(memoryAreas.end(), file.memoryAreas.begin(), file.memoryAreas.end()); } catch (LdParseException &e) { for (auto &m: e.messages) { - fprintf(stderr, m.c_str()); + fprintf(stderr, "%s\n", m.c_str()); } errx(EX_DATAERR, "Could not parse ld script"); } catch (std::exception &e) { |