0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-13 03:00:31 +00:00
termux-packages/packages/htop/proc-stat.patch
2024-04-24 10:38:05 +03:00

13 lines
319 B
Diff

diff --git a/linux/LinuxMachine.h b/linux/LinuxMachine.h
--- a/linux/LinuxMachine.h
+++ b/linux/LinuxMachine.h
@@ -87,7 +87,7 @@ typedef struct LinuxMachine_ {
#endif
#ifndef PROCSTATFILE
-#define PROCSTATFILE PROCDIR "/stat"
+#define PROCSTATFILE "@TERMUX_PREFIX@/var/htop/stat"
#endif
#ifndef PROCMEMINFOFILE