summaryrefslogtreecommitdiffstats
path: root/tools/regression/bpf/bpf_filter/tests/test0013.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/bpf/bpf_filter/tests/test0013.h')
-rw-r--r--tools/regression/bpf/bpf_filter/tests/test0013.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/regression/bpf/bpf_filter/tests/test0013.h b/tools/regression/bpf/bpf_filter/tests/test0013.h
index 2670fc2..78313f6 100644
--- a/tools/regression/bpf/bpf_filter/tests/test0013.h
+++ b/tools/regression/bpf/bpf_filter/tests/test0013.h
@@ -1,15 +1,15 @@
/*-
- * Test 0013: BPF_ST & BPF_LDX|BPF_MEM
+ * Test 0013: BPF_ST & BPF_LDX+BPF_MEM
*
* $FreeBSD$
*/
/* BPF program */
struct bpf_insn pc[] = {
- BPF_STMT(BPF_LD|BPF_IMM, 0xdeadc0de),
+ BPF_STMT(BPF_LD+BPF_IMM, 0xdeadc0de),
BPF_STMT(BPF_ST, 7),
- BPF_STMT(BPF_LDX|BPF_MEM, 7),
- BPF_STMT(BPF_MISC|BPF_TXA, 0),
+ BPF_STMT(BPF_LDX+BPF_MEM, 7),
+ BPF_STMT(BPF_MISC+BPF_TXA, 0),
BPF_STMT(BPF_RET+BPF_A, 0),
};
@@ -30,5 +30,5 @@ int invalid = 0;
/* Expected return value */
u_int expect = 0xdeadc0de;
-/* Expeced signal */
+/* Expected signal */
int expect_signal = 0;
OpenPOWER on IntegriCloud