On Tue, 22 Sep 2026 09:20:42 GMT, Matthias Baesken <[email protected]> wrote:

> After failing of pthread_key_create, we use perror for error-information 
> output, but perror evaluates errno.
> However, pthread_key_create seems not to set errno but returns an error code, 
> so we should better print the real error code.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: de51f5ec
Author:    Matthias Baesken <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/de51f5ec05ab9a6e7e592c88ed6dc383749cc1d6
Stats:     4 lines in 1 file changed: 1 ins; 0 del; 3 mod

8392627: Wrong perror usage in dbgsysTlsAlloc for pthread_key_create

Reviewed-by: clanger

-------------

PR: https://git.openjdk.org/jdk/pull/32999

Reply via email to