summaryrefslogtreecommitdiffstats
path: root/tools/regression/bpf/bpf_filter/tests/test0078.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/bpf/bpf_filter/tests/test0078.h')
-rw-r--r--tools/regression/bpf/bpf_filter/tests/test0078.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/regression/bpf/bpf_filter/tests/test0078.h b/tools/regression/bpf/bpf_filter/tests/test0078.h
index bd7ee8f..8803073 100644
--- a/tools/regression/bpf/bpf_filter/tests/test0078.h
+++ b/tools/regression/bpf/bpf_filter/tests/test0078.h
@@ -6,9 +6,9 @@
/* BPF program */
struct bpf_insn pc[] = {
- BPF_STMT(BPF_LD|BPF_IMM, 0xdeadc0de),
+ BPF_STMT(BPF_LD+BPF_IMM, 0xdeadc0de),
BPF_STMT(BPF_STX, 0xffffffff),
- BPF_STMT(BPF_MISC|BPF_TXA, 0),
+ BPF_STMT(BPF_MISC+BPF_TXA, 0),
BPF_STMT(BPF_RET+BPF_A, 0),
};
@@ -29,7 +29,7 @@ int invalid = 1;
/* Expected return value */
u_int expect = 0xdeadc0de;
-/* Expeced signal */
+/* Expected signal */
#ifdef BPF_JIT_COMPILER
int expect_signal = SIGSEGV;
#else
OpenPOWER on IntegriCloud