ath79: add support for Ubiquiti EdgeSwitch/ToughSwitch 5XP
[openwrt/.git] / toolchain / musl / patches / 110-read_timezone_from_fs.patch
index b4349e73676d6a49df7f5e1d77ea7d04201a523f..f92781f7ed8aad3b673c60064f914adffb053899 100644 (file)
@@ -1,6 +1,6 @@
 --- a/src/time/__tz.c
 +++ b/src/time/__tz.c
-@@ -23,6 +23,9 @@ static int r0[5], r1[5];
+@@ -25,6 +25,9 @@ static int r0[5], r1[5];
  static const unsigned char *zi, *trans, *index, *types, *abbrevs, *abbrevs_end;
  static size_t map_size;
  
@@ -24,5 +24,5 @@
 +      }
 +
        if (!s) s = "/etc/localtime";
-       if (!*s) s = __gmt;
+       if (!*s) s = __utc;