diff options
Diffstat (limited to 'sysutils/conky-awesome/files/patch-src-freebsd.c')
-rw-r--r-- | sysutils/conky-awesome/files/patch-src-freebsd.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/conky-awesome/files/patch-src-freebsd.c b/sysutils/conky-awesome/files/patch-src-freebsd.c new file mode 100644 index 000000000000..e08e55489d3f --- /dev/null +++ b/sysutils/conky-awesome/files/patch-src-freebsd.c @@ -0,0 +1,11 @@ +--- src/freebsd.c.orig Sun Dec 3 21:22:52 2006 ++++ src/freebsd.c Sun Dec 3 21:23:33 2006 +@@ -514,7 +514,7 @@ + if (freq_sysctl == NULL) + exit(-1); + +- snprintf(freq_sysctl, 16, "dev.cpu.%d.freq", cpu); ++ snprintf(freq_sysctl, 16, "dev.cpu.%d.freq", (cpu - 1)); + + if (!p_client_buffer || client_buffer_size <= 0 || + !p_format || divisor <= 0) |