summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/function.c
diff options
context:
space:
mode:
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