summary refs log tree commit diff stats
path: root/system/memory-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/memory-internal.h')
-rw-r--r--system/memory-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/memory-internal.h b/system/memory-internal.h
index 085e81a9fe..29717b3c58 100644
--- a/system/memory-internal.h
+++ b/system/memory-internal.h
@@ -45,7 +45,7 @@ static inline bool devend_big_endian(enum device_endian end)
                       DEVICE_HOST_ENDIAN != DEVICE_BIG_ENDIAN);
 
     if (end == DEVICE_NATIVE_ENDIAN) {
-        return target_words_bigendian();
+        return target_big_endian();
     }
     return end == DEVICE_BIG_ENDIAN;
 }