tools/power/x86/intel-speed-select: Fix a typo in error message
authorMasanari Iida <standby24x7@gmail.com>
Mon, 9 Mar 2020 08:54:44 +0000 (17:54 +0900)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 20 Mar 2020 12:46:27 +0000 (14:46 +0200)
This patch fix a spelling typo in error message.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
tools/power/x86/intel-speed-select/isst-config.c

index cd803a4..b737634 100644 (file)
@@ -831,7 +831,7 @@ int isst_send_msr_command(unsigned int cpu, unsigned int msr, int write,
                msr_cmds.msr_cmd[0].data = *req_resp;
 
        if (ioctl(fd, ISST_IF_MSR_COMMAND, &msr_cmds) == -1) {
-               perror("ISST_IF_MSR_COMMAD");
+               perror("ISST_IF_MSR_COMMAND");
                fprintf(outf, "Error: msr_cmd cpu:%d msr:%x read_write:%d\n",
                        cpu, msr, write);
        } else {