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

This commit is contained in:
Ruslan Ermilov
2001-06-13 15:01:25 +00:00
parent 589ee357a4
commit 754e501c71
+1 -1
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) {