git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'net-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[sfrench/cifs-2.6.git]
/
tools
/
testing
/
selftests
/
bpf
/
prog_tests
/
snprintf.c
diff --git
a/tools/testing/selftests/bpf/prog_tests/snprintf.c
b/tools/testing/selftests/bpf/prog_tests/snprintf.c
index a958c22aec75cdd3fb7cf22a66e2e75e23899fa9..dffbcaa1ec9804269bec40347acf1477efa57c88 100644
(file)
--- a/
tools/testing/selftests/bpf/prog_tests/snprintf.c
+++ b/
tools/testing/selftests/bpf/prog_tests/snprintf.c
@@
-43,6
+43,8
@@
void test_snprintf_positive(void)
if (!ASSERT_OK_PTR(skel, "skel_open"))
return;
+ skel->bss->pid = getpid();
+
if (!ASSERT_OK(test_snprintf__attach(skel), "skel_attach"))
goto cleanup;