blob: 601991175323e6ce5a09d68df69d21ca04066694 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- wmmemload-0.1.6/src/mem_linux.c 2003-11-03 22:06:39.000000000 +0000
+++ wmmemload-0.1.6/src/mem_linux.c 2011-11-12 11:05:13.000000000 +0000
@@ -49,8 +49,9 @@
/* new format ? (kernel >= 2.5.1pre?) */
/* see linux/fs/proc/proc_misc.c */
- if (version >= 2 && patchlevel >= 5 && sublevel >= 1 || \
- version >= 2 && patchlevel >= 6 && sublevel >= 0)
+ if (version == 2 && patchlevel >= 5 && sublevel >= 1 || \
+ version == 2 && patchlevel >= 6 && sublevel >= 0 || \
+ version >2 )
isnewformat = 1;
}
|