diff options
author | ru <ru@FreeBSD.org> | 2001-06-13 15:01:25 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-06-13 15:01:25 +0000 |
commit | a5389d379b3f2f00ab8db9a84daaf9ed3a99075c (patch) | |
tree | a6c9c9c26fcd0748d73b2ea2edd54105db61b528 /bin/rm | |
parent | ebf16ff17846153d72e551c9789066b305bae31e (diff) | |
download | FreeBSD-src-a5389d379b3f2f00ab8db9a84daaf9ed3a99075c.zip FreeBSD-src-a5389d379b3f2f00ab8db9a84daaf9ed3a99075c.tar.gz |
Removed wrong cast for fts_open()'s third argument.
Diffstat (limited to 'bin/rm')
-rw-r--r-- | bin/rm/rm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rm/rm.c b/bin/rm/rm.c index 2ffeace..4a50a64 100644 --- a/bin/rm/rm.c +++ b/bin/rm/rm.c @@ -183,7 +183,7 @@ rm_tree(argv) flags |= FTS_NOSTAT; if (Wflag) flags |= FTS_WHITEOUT; - if (!(fts = fts_open(argv, flags, (int (*)())NULL))) + if (!(fts = fts_open(argv, flags, NULL))) err(1, NULL); while ((p = fts_read(fts)) != NULL) { switch (p->fts_info) { |