diff options
author | 2012-07-26 21:32:01 -0400 | |
---|---|---|
committer | 2012-07-26 21:35:28 -0400 | |
commit | 869639f9e7ff5ca337b27469c298dd11c29cf0fa (patch) | |
tree | 335b176040be788e4710591e2e4848e456980055 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ACPI / PM: Fix build warning in sleep.c for CONFIG_ACPI_SLEEP unset (diff) | |
download | wireguard-linux-869639f9e7ff5ca337b27469c298dd11c29cf0fa.tar.xz wireguard-linux-869639f9e7ff5ca337b27469c298dd11c29cf0fa.zip |
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 <stern@rowland.harvard.edu>
Cc: Pavel Vasilyev <pavel@pavlinux.ru>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions