From ef4cbae5ea7d327b8ba27dedd645bd7b86b5fd88 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Thu, 19 May 2022 18:13:46 +0200 Subject: Minor code style update --- linux/SystemdMeter.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/linux/SystemdMeter.c b/linux/SystemdMeter.c index 297cc253..53ae2d28 100644 --- a/linux/SystemdMeter.c +++ b/linux/SystemdMeter.c @@ -221,15 +221,16 @@ static void updateViaExec(void) { close(fdnull); // Use of NULL in variadic functions must have a pointer cast. // The NULL constant is not required by standard to have a pointer type. - execlp("systemctl", - "systemctl", - "show", - "--property=SystemState", - "--property=NFailedUnits", - "--property=NNames", - "--property=NJobs", - "--property=NInstalledJobs", - (char *)NULL); + execlp( + "systemctl", + "systemctl", + "show", + "--property=SystemState", + "--property=NFailedUnits", + "--property=NNames", + "--property=NJobs", + "--property=NInstalledJobs", + (char *)NULL); exit(127); } close(fdpair[1]); -- cgit v1.2.3