Skip to content

Commit 3fadc20

Browse files
mgschossmannppisa
authored andcommitted
CLI: Added newlines to console messages
1 parent 3b3b315 commit 3fadc20

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/cli/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void configure_cache(CacheConfig &cacheconf, const QStringList &cachearg, const
141141
cacheconf.set_write_policy(CacheConfig::WP_THROUGH_ALLOC);
142142
} else {
143143
fprintf(
144-
stderr, "Write policy for %s cache is incorrect (correct wb/wt/wtna/wta). \n",
144+
stderr, "Write policy for %s cache is incorrect (correct wb/wt/wtna/wta).\n",
145145
qPrintable(which));
146146
exit(EXIT_FAILURE);
147147
}
@@ -163,7 +163,7 @@ void parse_u32_option(
163163
(config.*setter)(value);
164164
} else {
165165
fprintf(
166-
stderr, "Value of option %s is not a valid unsigned integer.",
166+
stderr, "Value of option %s is not a valid unsigned integer.\n",
167167
qPrintable(option_name));
168168
exit(EXIT_FAILURE);
169169
}

src/machine/memory/backend/lcddisplay.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ bool LcdDisplay::write_raw_pixel(Offset destination, uint16_t value) {
7676
Q_ASSERT((destination & 1U) == 0); // uint16_t aligned
7777

7878
if (destination + 1 >= get_fb_size_bytes()) {
79-
printf("WARNING: LCD display - read out of range.");
79+
printf("WARNING: LCD display - read out of range.\n");
8080
return false;
8181
}
8282

src/os_emulation/ossyscall.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ int OsSyscallExceptionHandler::do_sys_openat(
10521052

10531053
result = 0;
10541054
if (int64_t(a1) != TARGET_AT_FDCWD) {
1055-
printf("Unimplemented openat argument a1 %" PRId64, a1);
1055+
printf("Unimplemented openat argument a1 %" PRId64 "\n", a1);
10561056
if (unknown_syscall_stop) { emit core->stop_on_exception_reached(); }
10571057
return TARGET_ENOSYS;
10581058
}

0 commit comments

Comments
 (0)