diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2023-01-11 23:43:59 +0300 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2023-02-25 07:14:22 +0300 |
commit | a4c082f26718f7b2af6d62f5fd8b9759941c71c5 (patch) | |
tree | 42ce39a32fcf0a05249dc41616137b6fc95417b7 /tools/perf/scripts/python/task-analyzer.py | |
parent | 56efd34f8205ce24a97445184d819713dd3ce31e (diff) | |
download | linux-a4c082f26718f7b2af6d62f5fd8b9759941c71c5.tar.xz |
alpha/boot/tools/objstrip: fix the check for ELF header
Just memcmp() with ELFMAG - that's the normal way to do it in userland
code, which that thing is. Besides, that has the benefit of actually
building - str_has_prefix() is *NOT* present in <string.h>.
Fixes: 5f14596e55de "alpha: Replace strncmp with str_has_prefix"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions