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)
commite5dc9dd3258098bf8b5ceb75fc3433b41eff618a
treec221b6c928b70543c9c5d1ba29c60b33448a74c3
parent4b67c515036313f3c3ecba3cb2babb9cbddb3f85
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