From 173a8594b4ee64cd803a56a8ff438c860f7e938a Mon Sep 17 00:00:00 2001 From: Henrik Holst Date: Wed, 3 May 2023 21:41:59 +0200 Subject: [PATCH] fixed more coding style errors --- util/cpucorectl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/cpucorectl.c b/util/cpucorectl.c index ff28db9..7a18945 100644 --- a/util/cpucorectl.c +++ b/util/cpucorectl.c @@ -91,7 +91,8 @@ static int set_state(char *cpulist, int state) /* on some systems one cannot park core #0 */ if (cpu != 0) { if (state == '0') { - LOG_ERROR("unable to park core #%ld, will not apply cpu core parking!\n", cpu); + LOG_ERROR("unable to park core #%ld, will not apply cpu core parking!\n", + cpu); return -1; } @@ -104,7 +105,7 @@ static int set_state(char *cpulist, int state) } else if (last + 1 == cpu) { last = cpu; } else { - log_state (state, first, last); + log_state(state, first, last); first = cpu; last = cpu; }