summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-04-11 12:48:18 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-04-11 12:48:18 -0600
commit17e6fc0321a36fe38ef6c248628f48d2b59e0460 (patch)
tree7e8fa6a2ade21b09067e30ca27e07fb5776f0d84
parent766a2ce540c6ae41fed207271a955ef7562aef9a (diff)
downloadpx4-nuttx-17e6fc0321a36fe38ef6c248628f48d2b59e0460.tar.gz
px4-nuttx-17e6fc0321a36fe38ef6c248628f48d2b59e0460.tar.bz2
px4-nuttx-17e6fc0321a36fe38ef6c248628f48d2b59e0460.zip
Localtime: Configuration name inconsiste: CONFIG_LIBC_TZ_DIR vs CONFIG_LIBC_TZDIR
-rw-r--r--nuttx/libc/time/lib_localtime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/libc/time/lib_localtime.c b/nuttx/libc/time/lib_localtime.c
index 646b3e6df..cf2694ba8 100644
--- a/nuttx/libc/time/lib_localtime.c
+++ b/nuttx/libc/time/lib_localtime.c
@@ -64,8 +64,8 @@
/* Configuration ************************************************************/
/* Time zone object file directory */
-#ifdef CONFIG_LIBC_TZ_TZDIR
-# define TZDIR CONFIG_LIBC_TZ_TZDIR
+#ifdef CONFIG_LIBC_TZDIR
+# define TZDIR CONFIG_LIBC_TZDIR
#else
# define TZDIR "/usr/local/etc/zoneinfo"
#endif