Removed wrong cast for fts_open()'s third argument.
This commit is contained in:
parent
07f854c918
commit
d5aca165c8
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user