7e9d539412
* htop-2.2.0-fix-linux-process-ordering.patch * htop-2.2.0-fix-option-string.patch (fixes boo#1165352) OBS-URL: https://build.opensuse.org/package/show/Base:System/htop?expand=0&rev=50
14 lines
504 B
Diff
14 lines
504 B
Diff
Index: htop-2.2.0/linux/LinuxProcess.c
|
|
===================================================================
|
|
--- htop-2.2.0.orig/linux/LinuxProcess.c
|
|
+++ htop-2.2.0/linux/LinuxProcess.c
|
|
@@ -143,7 +143,7 @@ typedef struct LinuxProcess_ {
|
|
} LinuxProcess;
|
|
|
|
#ifndef Process_isKernelThread
|
|
-#define Process_isKernelThread(_process) ((LinuxProcess*)(_process)->isKernelThread)
|
|
+#define Process_isKernelThread(_process) (((LinuxProcess*)(_process))->isKernelThread)
|
|
#endif
|
|
|
|
#ifndef Process_isUserlandThread
|