summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/function.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-04-02 10:45:34 +0000
committermarkm <markm@FreeBSD.org>2002-04-02 10:45:34 +0000
commit803be75ab678dcf2321078135c7e2f5c7069dabb (patch)
treeeacc94d9d959bde59356bf39933f65d83374c3f3 /usr.bin/find/function.c
parenta8e402b266a6426ec1790169fc85e7c3471f3a5c (diff)
downloadFreeBSD-src-803be75ab678dcf2321078135c7e2f5c7069dabb.zip
FreeBSD-src-803be75ab678dcf2321078135c7e2f5c7069dabb.tar.gz
There is breakage in parsedate, so revert to get_date until this can be
resolved. Reported by: paul
Diffstat (limited to 'usr.bin/find/function.c')
-rw-r--r--usr.bin/find/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c
index 4fe27dc..295bdbe 100644
--- a/usr.bin/find/function.c
+++ b/usr.bin/find/function.c
@@ -1000,7 +1000,7 @@ c_newer(option, argvp)
new = palloc(option);
/* compare against what */
if (option->flags & F_TIME2_T) {
- new->t_data = parsedate(fn_or_tspec, (struct timeb *) 0);
+ new->t_data = get_date(fn_or_tspec, (struct timeb *) 0);
if (new->t_data == (time_t) -1)
errx(1, "Can't parse date/time: %s", fn_or_tspec);
} else {
OpenPOWER on IntegriCloud