From 5e17acc09261e16e747c58583510d66549185c5a Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 31 Aug 2008 13:09:52 +0200 Subject: [PATCH] date: call nl_langinfo with proper argument --- src/date.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/date.c b/src/date.c index 3cfcc62..4e84a5f 100644 --- a/src/date.c +++ b/src/date.c @@ -109,8 +109,8 @@ static struct option const long_options[] = # define TZSET /* empty */ #endif -#ifdef _DATE_FMT -# define DATE_FMT_LANGINFO() nl_langinfo (_DATE_FMT) +#ifdef D_T_FMT +# define DATE_FMT_LANGINFO() nl_langinfo (D_T_FMT) #else # define DATE_FMT_LANGINFO() "" #endif -- 1.5.6.4