diff options
Diffstat (limited to 'sim/bpf/mloop.in')
-rw-r--r-- | sim/bpf/mloop.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/bpf/mloop.in b/sim/bpf/mloop.in index e666835..91f0c44 100644 --- a/sim/bpf/mloop.in +++ b/sim/bpf/mloop.in @@ -121,7 +121,7 @@ cat <<EOF UDI insn = GETIMEMUDI (current_cpu, vpc); - if (current_target_byte_order == BFD_ENDIAN_BIG) + if (CURRENT_TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) { /* eBPF instructions are little-endian, but GETIMEMUDI reads according to target byte order. Swap to little-endian. */ |