diff options
Diffstat (limited to 'sys-power/phc-intel/files/phc-intel-0.3.2.12.11-trailing-space.patch')
-rw-r--r-- | sys-power/phc-intel/files/phc-intel-0.3.2.12.11-trailing-space.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-power/phc-intel/files/phc-intel-0.3.2.12.11-trailing-space.patch b/sys-power/phc-intel/files/phc-intel-0.3.2.12.11-trailing-space.patch new file mode 100644 index 000000000000..576c9211786d --- /dev/null +++ b/sys-power/phc-intel/files/phc-intel-0.3.2.12.11-trailing-space.patch @@ -0,0 +1,11 @@ +--- phc-intel-pack-rev11/acpi-cpufreq.c ++++ phc-intel-pack-rev11/acpi-cpufreq.c +@@ -1175,6 +1175,8 @@ + vid = extract_vid_from_control(data->original_controls[freq_table[i].driver_data]); + count += sprintf(&buf[count], "%u:%u ", fid, vid); + } ++ if (count) ++ count--; //remove trailing space + count += sprintf(&buf[count], "\n"); + + return count; |