summaryrefslogtreecommitdiff
path: root/coreutils/date.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/date.c')
-rw-r--r--coreutils/date.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/coreutils/date.c b/coreutils/date.c
index 5e2bcee..5ee70f7 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -63,8 +63,9 @@ int date_main(int argc, char **argv)
if (!isofmt_arg) {
ifmt = 0; /* default is date */
} else {
- static const char * const isoformats[] =
- { "date", "hours", "minutes", "seconds" };
+ static const char *const isoformats[] = {
+ "date", "hours", "minutes", "seconds"
+ };
for (ifmt = 0; ifmt < 4; ifmt++)
if (!strcmp(isofmt_arg, isoformats[ifmt]))