summaryrefslogtreecommitdiffstats
path: root/tools/regression/bpf/bpf_filter/tests/test0042.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/bpf/bpf_filter/tests/test0042.h')
-rw-r--r--tools/regression/bpf/bpf_filter/tests/test0042.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/regression/bpf/bpf_filter/tests/test0042.h b/tools/regression/bpf/bpf_filter/tests/test0042.h
index bf9cf5b..a645cb6 100644
--- a/tools/regression/bpf/bpf_filter/tests/test0042.h
+++ b/tools/regression/bpf/bpf_filter/tests/test0042.h
@@ -1,13 +1,13 @@
/*-
- * Test 0042: Check boundary conditions (BPF_LD|BPF_W|BPF_ABS)
+ * Test 0042: Check boundary conditions (BPF_LD+BPF_W+BPF_ABS)
*
* $FreeBSD$
*/
/* BPF program */
struct bpf_insn pc[] = {
- BPF_STMT(BPF_LD|BPF_IMM, 0xdeadc0de),
- BPF_STMT(BPF_LD|BPF_W|BPF_ABS, 2),
+ BPF_STMT(BPF_LD+BPF_IMM, 0xdeadc0de),
+ BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 2),
BPF_STMT(BPF_RET+BPF_A, 0),
};
@@ -28,5 +28,5 @@ int invalid = 0;
/* Expected return value */
u_int expect = 0;
-/* Expeced signal */
+/* Expected signal */
int expect_signal = 0;
OpenPOWER on IntegriCloud