aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorLen Brown <[email protected]>2012-07-26 21:32:01 -0400
committerLen Brown <[email protected]>2012-07-26 21:35:28 -0400
commit869639f9e7ff5ca337b27469c298dd11c29cf0fa (patch)
tree335b176040be788e4710591e2e4848e456980055 /net/lapb/lapb_in.c
parenta5ca7345c1e67cd12cf75a9ec034c7d34786ae79 (diff)
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: Alan Stern <[email protected]> Cc: Pavel Vasilyev <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions