Skip to content

Commit 46e08c4

Browse files
committed
elf2rel: Add missing newlines to debug output
1 parent cc9dbcf commit 46e08c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ttyd-tools/elf2rel/elf2rel.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ int main(int argc, char **argv)
107107
{
108108
if (argc <= 2)
109109
{
110-
printf("Usage: %s <elf file> <symbol file>", argv[0]);
110+
printf("Usage: %s <elf file> <symbol file>\n", argv[0]);
111111
return 1;
112112
}
113113

@@ -118,7 +118,7 @@ int main(int argc, char **argv)
118118
ELFIO::elfio inputElf;
119119
if (!inputElf.load(elfFilename))
120120
{
121-
printf("Failed to load input file");
121+
printf("Failed to load input file\n");
122122
return 1;
123123
}
124124

@@ -283,7 +283,7 @@ int main(int argc, char **argv)
283283
if (!symbols.get_symbol(symbol, symbolName, symbolValue,
284284
size, bind, symbolType, sectionIndex, other))
285285
{
286-
printf("Unable to find symbol %u in symbol table!", static_cast<uint32_t>(symbol));
286+
printf("Unable to find symbol %u in symbol table!\n", static_cast<uint32_t>(symbol));
287287
return 1;
288288
}
289289

0 commit comments

Comments
 (0)