]> git.ipfire.org Git - thirdparty/valgrind.git/commit
syswrap-linux.c (sys_bpf): Compare raw_tracepoint.name against 0, not NULL
authorMark Wielaard <mark@klomp.org>
Thu, 9 Jun 2022 20:51:56 +0000 (22:51 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 9 Jun 2022 20:55:23 +0000 (22:55 +0200)
commit438d5e956dfa989184fcd4c18d7db534f65b75b6
tree798534c02518e0ac1fa68431d9967f6f39f0e56d
parent61ddbc1fc395c787192e569d8f2238f713bdfd8e
syswrap-linux.c (sys_bpf): Compare raw_tracepoint.name against 0, not NULL

raw_tracepoint.name is a __vki_u64 (even on 32bit arches), so compare
against zero, not NULL, to avoid a gcc warning.
coregrind/m_syswrap/syswrap-linux.c