summaryrefslogtreecommitdiffstats
path: root/bin/rm
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-06-13 15:01:25 +0000
committerru <ru@FreeBSD.org>2001-06-13 15:01:25 +0000
commita5389d379b3f2f00ab8db9a84daaf9ed3a99075c (patch)
treea6c9c9c26fcd0748d73b2ea2edd54105db61b528 /bin/rm
parentebf16ff17846153d72e551c9789066b305bae31e (diff)
downloadFreeBSD-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.c2
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) {
OpenPOWER on IntegriCloud