Skip to content
Commit 869639f9 authored by Len Brown's avatar Len Brown
Browse files

ACPI: replace strlen("string") with sizeof("string") -1



...both give the number of chars in the string
without the '\0', as strncmp() wants,
but sizeof() is compile-time.

Reported-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Cc: Pavel Vasilyev <pavel@pavlinux.ru>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent a5ca7345
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment