diff options
author | Stephen Webb <swebb@blackberry.com> | 2020-06-11 20:52:48 -0400 |
---|---|---|
committer | Dave Watson <dade.watson@gmail.com> | 2020-06-18 13:42:19 -0700 |
commit | 0ce3bf0f3608b310401d9c49fb3f8562d0133cf5 (patch) | |
tree | 28e354594444f244c7cb299a2850aebf0fc9b785 /src/mips | |
parent | cddff97d513bb58370ab6fc3a2486ca950fd80df (diff) | |
download | libunwind-0ce3bf0f3608b310401d9c49fb3f8562d0133cf5.tar.gz |
Fix a typo caught by CI
Fixed a missing conjunction on the mips target.
Diffstat (limited to 'src/mips')
-rw-r--r-- | src/mips/Gcreate_addr_space.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mips/Gcreate_addr_space.c b/src/mips/Gcreate_addr_space.c index d9122562..acc6cf0f 100644 --- a/src/mips/Gcreate_addr_space.c +++ b/src/mips/Gcreate_addr_space.c @@ -38,7 +38,7 @@ unw_create_addr_space (unw_accessors_t *a, int byte_order) * MIPS supports only big or little-endian, not weird stuff like * PDP_ENDIAN. */ - if (byte_order != 0 byte_order_is_valid(byte_order) == 0) + if (byte_order != 0 && byte_order_is_valid(byte_order) == 0) return NULL; as = malloc (sizeof (*as)); |