We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40aafc7 commit 6cbfedcCopy full SHA for 6cbfedc
tools/power/x86/turbostat/turbostat.c
@@ -5482,7 +5482,7 @@ void print_dev_latency(void)
5482
5483
retval = read(fd, (void *)&value, sizeof(int));
5484
if (retval != sizeof(int)) {
5485
- warn("read failed %s\n", path);
+ warn("read failed %s", path);
5486
close(fd);
5487
return;
5488
}
@@ -5543,7 +5543,7 @@ void process_cpuid()
5543
edx_flags = edx;
5544
5545
if (get_msr(sched_getcpu(), MSR_IA32_UCODE_REV, &ucode_patch))
5546
- warnx("get_msr(UCODE)\n");
+ warnx("get_msr(UCODE)");
5547
5548
/*
5549
* check max extended function levels of CPUID.
0 commit comments