From 6d185296161606edbc9f737a6b1b27496add9367 Mon Sep 17 00:00:00 2001 From: Christoph Langer Date: Fri, 4 Aug 2023 22:33:36 +0000 Subject: [PATCH] 8313795: Fix for JDK-8313564 breaks ppc and s390x builds Reviewed-by: stuefe --- src/hotspot/cpu/ppc/vm_version_ppc.cpp | 2 +- src/hotspot/cpu/s390/vm_version_s390.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotspot/cpu/ppc/vm_version_ppc.cpp b/src/hotspot/cpu/ppc/vm_version_ppc.cpp index 0eb5d74bfd9..0b6824943b9 100644 --- a/src/hotspot/cpu/ppc/vm_version_ppc.cpp +++ b/src/hotspot/cpu/ppc/vm_version_ppc.cpp @@ -497,7 +497,7 @@ void VM_Version::print_features() { if (Verbose) { if (ContendedPaddingWidth > 0) { tty->cr(); - tty->print_cr("ContendedPaddingWidth " INTX_FORMAT, ContendedPaddingWidth); + tty->print_cr("ContendedPaddingWidth %d", ContendedPaddingWidth); } } } diff --git a/src/hotspot/cpu/s390/vm_version_s390.cpp b/src/hotspot/cpu/s390/vm_version_s390.cpp index 60f726edacc..23e9e975531 100644 --- a/src/hotspot/cpu/s390/vm_version_s390.cpp +++ b/src/hotspot/cpu/s390/vm_version_s390.cpp @@ -707,7 +707,7 @@ void VM_Version::print_features_internal(const char* text, bool print_anyway) { } if (ContendedPaddingWidth > 0) { tty->cr(); - tty->print_cr("ContendedPaddingWidth " INTX_FORMAT, ContendedPaddingWidth); + tty->print_cr("ContendedPaddingWidth %d", ContendedPaddingWidth); } } }