mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8309219: Fix xlc17 clang 15 warnings in java.base
Reviewed-by: goetz, mdoerr
This commit is contained in:
parent
177e8327d6
commit
6eddbe26dd
6 changed files with 12 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2023, 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
|
||||
|
@ -622,7 +622,7 @@ jint unix_getChildren(JNIEnv *env, jlong jpid, jlongArray jarray,
|
|||
static int getPsinfo(pid_t pid, psinfo_t *psinfo) {
|
||||
FILE* fp;
|
||||
char fn[32];
|
||||
int ret;
|
||||
size_t ret;
|
||||
|
||||
/*
|
||||
* Try to open /proc/%d/psinfo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue