summaryrefslogtreecommitdiff
path: root/sysutils/tmux-mem-cpu-load/files/patch-common_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/tmux-mem-cpu-load/files/patch-common_cpu.h')
-rw-r--r--sysutils/tmux-mem-cpu-load/files/patch-common_cpu.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/tmux-mem-cpu-load/files/patch-common_cpu.h b/sysutils/tmux-mem-cpu-load/files/patch-common_cpu.h
new file mode 100644
index 000000000000..42237a044b95
--- /dev/null
+++ b/sysutils/tmux-mem-cpu-load/files/patch-common_cpu.h
@@ -0,0 +1,11 @@
+--- common/cpu.h.orig 2021-08-04 11:37:18 UTC
++++ common/cpu.h
+@@ -45,7 +45,7 @@
+ #endif
+
+ float cpu_percentage( unsigned );
+-uint32_t get_cpu_count();
++uint8_t get_cpu_count();
+
+ /** CPU percentage output mode.
+ *