Bakul Shah <ba...@bitblocks.com> writes:
> Index: function.c
> ===================================================================
> --- function.c  (revision 212707)
> +++ function.c  (working copy)
> @@ -560,7 +560,7 @@
>               empty = 1;
>               dir = opendir(entry->fts_accpath);
>               if (dir == NULL)
> -                     err(1, "%s", entry->fts_accpath);
> +                     return 0;
>               for (dp = readdir(dir); dp; dp = readdir(dir))
>                       if (dp->d_name[0] != '.' ||
>                           (dp->d_name[1] != '\0' &&

You should replace the err() call with a warn() call instead of removing
it outright.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to