babe7e230f
4.99.23 and 4.99.24.
16 lines
648 B
Text
16 lines
648 B
Text
$NetBSD: patch-bv,v 1.1 2008/02/16 22:03:49 apb Exp $
|
|
|
|
--- nfsconf.h.orig 2002-09-19 06:15:18.000000000 +0200
|
|
+++ nfsconf.h
|
|
@@ -262,6 +262,11 @@ struct nfs3_fh {
|
|
#define SYS_MOUNT(hostname, type, dir, mntflags, args) \
|
|
vfsmount (type, dir, mntflags, args)
|
|
|
|
+#elif defined(__NetBSD__) && __NetBSD_Prereq__(4,99,24)
|
|
+ /* The fifth arg appeared in NetBSD between 4.99.23 and 4.99.24 */
|
|
+#define SYS_MOUNT(hostname, type, dir, mntflags, args) \
|
|
+ mount (type, dir, mntflags, args, sizeof(*(args)))
|
|
+
|
|
#else /* normal mount syscall */
|
|
#define SYS_MOUNT(hostname, type, dir, mntflags, args) \
|
|
mount (type, dir, mntflags, (char *) (args))
|