mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-15 21:44:36 +03:00
Minor code style update
This commit is contained in:
@ -221,7 +221,8 @@ static void updateViaExec(void) {
|
|||||||
close(fdnull);
|
close(fdnull);
|
||||||
// Use of NULL in variadic functions must have a pointer cast.
|
// Use of NULL in variadic functions must have a pointer cast.
|
||||||
// The NULL constant is not required by standard to have a pointer type.
|
// The NULL constant is not required by standard to have a pointer type.
|
||||||
execlp("systemctl",
|
execlp(
|
||||||
|
"systemctl",
|
||||||
"systemctl",
|
"systemctl",
|
||||||
"show",
|
"show",
|
||||||
"--property=SystemState",
|
"--property=SystemState",
|
||||||
|
Reference in New Issue
Block a user