Do a proper dir name check instead of (strlen < 3). Some distro's have CPU named...
authorSmith, Ian <ian.smith@intel.com>
Tue, 19 Oct 2010 22:20:31 +0000 (22:20 +0000)
committerAuke Kok <auke-jan.h.kok@intel.com>
Tue, 19 Oct 2010 22:20:31 +0000 (22:20 +0000)
commit917196297f784f26d96dd0764185cf396f451b03
tree7a80158e49f8f8e04aa1b50a55beb3c0813666eb
parent35e0a7b3c2d6c1367acf459c2d6d84ac28d4ba81
Do a proper dir name check instead of (strlen < 3). Some distro's have CPU named as '0' '1' etc, which would fail the old check.
powertop.c