Jelajahi Sumber

fixed more coding style errors

Henrik Holst 1 tahun lalu
induk
melakukan
173a8594b4
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      util/cpucorectl.c

+ 3 - 2
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;
 				}