Merge "Report the right error code from PropertyServiceConnection()"
diff --git a/libc/tzcode/bionic.cpp b/libc/tzcode/bionic.cpp
index fbbbd24..b486174 100644
--- a/libc/tzcode/bionic.cpp
+++ b/libc/tzcode/bionic.cpp
@@ -133,7 +133,7 @@
     return -1;
   }
 
-  if (ntohl(header.data_offset) > ntohl(header.index_offset)) {
+  if (ntohl(header.index_offset) > ntohl(header.data_offset)) {
     fprintf(stderr, "%s: invalid data and index offsets in \"%s\": %u %u\n",
             __FUNCTION__, path, ntohl(header.data_offset), ntohl(header.index_offset));
     close(fd);