Created attachment 54732 [details] Strlen fix The word "enable" contains six characters, (strlen ("enable") -1), equal to five. The word "disable" has seven characters, (strlen ("disable")-1), equal to six. Perhaps the author confused with sizeof?!
thanks for the patch. Len, can you apply this patch please?
BTW, Pavel, can you resend the patch to linux-acpi@vger.kernel.org mailing list?
applied.
A patch referencing this bug report has been merged in Linux v3.5-rc5: commit 9f132652d94c96476b0b0a8caf0c10e96ab10fa8 Author: Pavel Vasilyev <pavel@pavlinux.ru> Date: Tue Jun 5 00:02:05 2012 -0400 ACPI sysfs.c strlen fix