summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-04-11 13:11:10 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-04-11 13:11:10 -0600
commit8bff8fb7a457bdaf1d050ae4792c8284eaaf32d4 (patch)
treec12502f887a1cb7be72a59dc0442de81bb7430bd
parent5ea0384f3fcab14804549f6b05df51ab9907104b (diff)
downloadpx4-nuttx-8bff8fb7a457bdaf1d050ae4792c8284eaaf32d4.tar.gz
px4-nuttx-8bff8fb7a457bdaf1d050ae4792c8284eaaf32d4.tar.bz2
px4-nuttx-8bff8fb7a457bdaf1d050ae4792c8284eaaf32d4.zip
localtime: Default zoneinfo directory is /etc/zoneinfo instead of /usr/local/etc/zoneinfo which results in a longer pathname than the default 32 characer MAX
-rw-r--r--nuttx/libc/time/lib_localtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/libc/time/lib_localtime.c b/nuttx/libc/time/lib_localtime.c
index cf2694ba8..246aaab41 100644
--- a/nuttx/libc/time/lib_localtime.c
+++ b/nuttx/libc/time/lib_localtime.c
@@ -67,7 +67,7 @@
#ifdef CONFIG_LIBC_TZDIR
# define TZDIR CONFIG_LIBC_TZDIR
#else
-# define TZDIR "/usr/local/etc/zoneinfo"
+# define TZDIR "/etc/zoneinfo"
#endif
/* Time definitions *********************************************************/