8365296: Build failure with Clang due to -Wformat warning after JDK-8364611

Reviewed-by: ayang, mbaesken
This commit is contained in:
Guanqiang Han 2025-08-15 09:41:17 +00:00 committed by Matthias Baesken
parent 5856dc34c8
commit b6d5f49b8d

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -72,11 +72,7 @@ int main(int argc, char** argv) {
} else {
printf("%p ", handler);
}
#ifdef _AIX
printf("%X\n", act.sa_flags);
#else
printf("%X %X\n", act.sa_flags, act.sa_mask);
#endif
}
return 0;