mirror of https://github.com/xzeldon/htop.git
LinuxProcessList: drop unnecessary parenthesis
This commit is contained in:
parent
d9f2eacbc5
commit
e942736267
|
@ -673,7 +673,7 @@ static bool LinuxProcessList_readSmapsFile(LinuxProcess* process, openat_arg_t p
|
||||||
#ifdef HAVE_OPENVZ
|
#ifdef HAVE_OPENVZ
|
||||||
|
|
||||||
static void LinuxProcessList_readOpenVZData(LinuxProcess* process, openat_arg_t procFd) {
|
static void LinuxProcessList_readOpenVZData(LinuxProcess* process, openat_arg_t procFd) {
|
||||||
if ( (access(PROCDIR "/vz", R_OK) != 0)) {
|
if (access(PROCDIR "/vz", R_OK) != 0) {
|
||||||
free(process->ctid);
|
free(process->ctid);
|
||||||
process->ctid = NULL;
|
process->ctid = NULL;
|
||||||
process->vpid = process->super.pid;
|
process->vpid = process->super.pid;
|
||||||
|
|
Loading…
Reference in New Issue