$NetBSD: patch-aa,v 1.2 2005/09/06 08:10:57 abs Exp $ --- mount.c.orig 2005-02-09 04:51:24.000000000 +0100 +++ mount.c 2005-02-09 04:52:38.000000000 +0100 @@ -52,11 +52,18 @@ #include "commands.h" #include "functions.h" +#if (__NetBSD_Version__ >= 299000900) +#define STATFS statvfs +#else +#define STATFS statfs +#endif + + void unmount_all_under_r(struct i_fn_args *a, struct commands *cmds, - char *mtpt, struct statfs *mt_array, int count) + char *mtpt, struct STATFS *mt_array, int count) { - struct statfs *mt_ptr; + struct STATFS *mt_ptr; int k = count; int unmount_me = 0; @@ -85,7 +92,7 @@ void unmount_all_under(struct i_fn_args *a, struct commands *cmds, char *fmt, ...) { - struct statfs *mt_array; + struct STATFS *mt_array; int count; char *mtpt; va_list args;