8355498: [AIX] Adapt code for C++ VLA rule
Reviewed-by: jkern, mdoerr
This commit is contained in:
parent
db6fa5923c
commit
2447b9812a
@ -72,7 +72,7 @@ enum {
|
||||
* Get info for requested PID from /proc/<pid>/psinfo file
|
||||
*/
|
||||
static bool read_psinfo(const u_longlong_t& pid, psinfo_t& psinfo) {
|
||||
static size_t BUF_LENGTH = 32 + sizeof(u_longlong_t);
|
||||
const size_t BUF_LENGTH = 32 + sizeof(u_longlong_t);
|
||||
|
||||
FILE* fp;
|
||||
char buf[BUF_LENGTH];
|
||||
|
Loading…
x
Reference in New Issue
Block a user