summaryrefslogtreecommitdiff
blob: cd793d2e1e671583043ed4e8b0238ad79aaf1c77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
http://bugs.gentoo.org/377355

--- src/acpitool.cpp
+++ src/acpitool.cpp
@@ -205,8 +205,7 @@
 	Kernel_24 = 1;           
 	Kernel_26 = 0;
     }
-        
-    if(strncmp(str,"2.6",3)==0)
+    else
     {
 	Kernel_24 = 0;           
 	Kernel_26 = 1;