]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: bpf: correct perror strings
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 27 Nov 2019 20:16:46 +0000 (12:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Nov 2019 06:40:30 +0000 (22:40 -0800)
commit2a735e7ed25e99c0b7c6a9d6ac332c226d5651c2
treec221b6c928b70543c9c5d1ba29c60b33448a74c3
parent2b011195ec510b9ed1a665801bbbc10103fb7c08
selftests: bpf: correct perror strings

perror(str) is basically equivalent to
print("%s: %s\n", str, strerror(errno)).
New line or colon at the end of str is
a mistake/breaks formatting.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/bpf/test_sockmap.c
tools/testing/selftests/bpf/xdping.c