Skip to content

Commit c3eb80e

Browse files
committed
8262500: HostName entry in VM.info should be a new line
Reviewed-by: stuefe, dcubed, dholmes
1 parent 9f0f0c9 commit c3eb80e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/os/windows/os_windows.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1700,9 +1700,9 @@ void os::print_os_info(outputStream* st) {
17001700
char buffer[1024];
17011701
st->print("HostName: ");
17021702
if (get_host_name(buffer, sizeof(buffer))) {
1703-
st->print("%s ", buffer);
1703+
st->print_cr(buffer);
17041704
} else {
1705-
st->print("N/A ");
1705+
st->print_cr("N/A");
17061706
}
17071707
#endif
17081708
st->print_cr("OS:");

0 commit comments

Comments
 (0)