From c8cd855ab70f1ee1113a4fe1a7c87e2b8fe2db9a Mon Sep 17 00:00:00 2001 From: Nguyễn Thái Ngọc Duy Date: Fri, 17 Sep 2010 10:39:10 +1000 Subject: win32: date: escape literal %e properly --- coreutils/date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils') diff --git a/coreutils/date.c b/coreutils/date.c index c0faf04af..881dcc429 100644 --- a/coreutils/date.c +++ b/coreutils/date.c @@ -336,7 +336,7 @@ int date_main(int argc UNUSED_PARAM, char **argv) } #if ENABLE_PLATFORM_MINGW32 if (strstr(fmt_dt2str, "%e")) - bb_error_msg_and_die("%e is not supported by Windows strftime"); + bb_error_msg_and_die("%%e is not supported by Windows strftime"); #endif /* Generate output string */ strftime(date_buf, sizeof(date_buf), fmt_dt2str, &tm_time); -- cgit v1.2.3-55-g6feb