Index: function.c =================================================================== RCS file: /home/ncvs/src/usr.bin/find/function.c,v retrieving revision 1.26 diff -u -r1.26 function.c --- function.c 2000/06/17 14:19:33 1.26 +++ function.c 2000/06/21 19:46:20 @@ -564,6 +564,14 @@ } #if !defined(__NetBSD__) +int +f_always_false(plan, entry) + PLAN *plan; + FTSENT *entry; +{ + return (0); +} + PLAN * c_fstype(arg) char *arg; @@ -600,8 +608,14 @@ } break; } - errx(1, "%s: unknown file type", arg); - /* NOTREACHED */ + /* + * We need to make filesystem checks for filesystems + * that exists but aren't in the kernel work. + */ + fprintf(stderr, "Warning: Unknown filesystem type %s\n", arg); + free(new); + + return (palloc(N_FSTYPE, f_always_false)); } #endif