Commit b3eaf14f authored by Shinji Nomoto's avatar Shinji Nomoto Committed by Shuah Khan
Browse files

cpupower: Fix a bug where the -t option of the set subcommand was not working.

The set subcommand's -t option is documented as being available for boost
configuration, but it was not actually functioning due to a bug
in the option handling.

Link: https://lore.kernel.org/r/20250522061122.2149188-2-fj5851bi@fujitsu.com


Signed-off-by: default avatarShinji Nomoto <fj5851bi@fujitsu.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 8f5ae30d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ int cmd_set(int argc, char **argv)

	params.params = 0;
	/* parameter parsing */
	while ((ret = getopt_long(argc, argv, "b:e:m:",
	while ((ret = getopt_long(argc, argv, "b:e:m:t:",
				  set_opts, NULL)) != -1) {
		switch (ret) {
		case 'b':