aboutsummaryrefslogtreecommitdiffstats
path: root/trace-split.c
diff options
context:
space:
mode:
Diffstat (limited to 'trace-split.c')
-rw-r--r--trace-split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace-split.c b/trace-split.c
index 96cda2d..9c30b52 100644
--- a/trace-split.c
+++ b/trace-split.c
@@ -74,7 +74,7 @@ static int create_type_len(struct pevent *pevent, int time, int len)
74 if (bigendian < 0) { 74 if (bigendian < 0) {
75 test = 0x4321; 75 test = 0x4321;
76 ptr = (char *)&test; 76 ptr = (char *)&test;
77 if (*ptr == 0x12) 77 if (*ptr == 0x21)
78 bigendian = 0; 78 bigendian = 0;
79 else 79 else
80 bigendian = 1; 80 bigendian = 1;