specific structure, but passing 0 for now works. We would need to change
a lot more code to pass the size from the fs-specific calls, so for now
punt.
conf/trap/trap_isc3.h \
conf/trap/trap_linux.h \
conf/trap/trap_mach3.h \
+ conf/trap/trap_netbsd.h \
conf/trap/trap_news4.h \
conf/trap/trap_rtu6.h \
conf/trap/trap_stellix.h \
--- /dev/null
+/* $srcdir/conf/trap/trap_netbsd.h */
+#if __NetBSD_Version__ >= 499002300
+#define MOUNT_TRAP(type, mnt, flags, mnt_data) mount(type, mnt->mnt_dir, flags, mnt_data, 0)
+#else
+#define MOUNT_TRAP(type, mnt, flags, mnt_data) mount(type, mnt->mnt_dir, flags, mnt_data)
+#endif