Slight change to message when execution can run off the end of the program.

Signed-off-by: Edward Cree <ec...@solarflare.com>
---
 tools/testing/selftests/bpf/test_verifier.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/bpf/test_verifier.c 
b/tools/testing/selftests/bpf/test_verifier.c
index fda35a5a0ff9..a54e50a887dc 100644
--- a/tools/testing/selftests/bpf/test_verifier.c
+++ b/tools/testing/selftests/bpf/test_verifier.c
@@ -9758,7 +9758,7 @@ static struct bpf_test tests[] = {
                        BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, -2),
                },
                .prog_type = BPF_PROG_TYPE_TRACEPOINT,
-               .errstr = "jump out of range from insn 5 to 6",
+               .errstr = "no exit/jump at end of program (insn 5)",
                .result = REJECT,
        },
        {

Reply via email to