summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-09-16 08:08:00 +0000
committerJim Meyering <jim@meyering.net>2005-09-16 08:08:00 +0000
commit4fdd25e01277153a0eedbdd4fd510c7c8bd850e5 (patch)
treee24467f5a55c96ffc36463db8531d20375866490 /src
parentd5763af8395b78de7faaf17ffd8ac9517b2456da (diff)
downloadcoreutils-4fdd25e01277153a0eedbdd4fd510c7c8bd850e5.tar.xz
(show_date): Correct comment: this function no longer handles a
NULL format string.
Diffstat (limited to 'src')
-rw-r--r--src/date.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/date.c b/src/date.c
index 4e65b52f8..9a9163565 100644
--- a/src/date.c
+++ b/src/date.c
@@ -527,9 +527,7 @@ main (int argc, char **argv)
}
/* Display the date and/or time in WHEN according to the format specified
- in FORMAT, followed by a newline. If FORMAT is NULL, use the
- standard output format (ctime style but with a timezone inserted).
- Return true if successful. */
+ in FORMAT, followed by a newline. Return true if successful. */
static bool
show_date (const char *format, struct timespec when)