diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2010-02-09 21:24:41 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2010-02-09 21:24:41 +0000 |
| commit | 65bcaaeca7ef25d62b52cf7b5cc1b851d541e99f (patch) | |
| tree | f13aeb7b2ac72b2f30879d9c0193133835e34d27 /usr.bin/find/function.c | |
| parent | 13d034bf5d08531ac89cfd0a3def203b029ee510 (diff) | |
Notes
Diffstat (limited to 'usr.bin/find/function.c')
| -rw-r--r-- | usr.bin/find/function.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index 5d8ad3d3485e6..51d51531ebbd8 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$"); #include <sys/acl.h> #include <sys/wait.h> #include <sys/mount.h> -#include <sys/timeb.h> #include <dirent.h> #include <err.h> @@ -1155,7 +1154,7 @@ c_newer(OPTION *option, char ***argvp) new = palloc(option); /* compare against what */ if (option->flags & F_TIME2_T) { - new->t_data = get_date(fn_or_tspec, (struct timeb *) 0); + new->t_data = get_date(fn_or_tspec); if (new->t_data == (time_t) -1) errx(1, "Can't parse date/time: %s", fn_or_tspec); } else { |
