Created attachment 54732 [details]
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?
can you resend the patch to email@example.com mailing list?
A patch referencing this bug report has been merged in Linux v3.5-rc5:
Author: Pavel Vasilyev <firstname.lastname@example.org>
Date: Tue Jun 5 00:02:05 2012 -0400
ACPI sysfs.c strlen fix