Removed wrong cast for fts_open()'s third argument.

This commit is contained in:
ru 2001-06-13 15:01:25 +00:00
parent 07f854c918
commit d5aca165c8

View File

@ -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) {