$NetBSD: patch-ae,v 1.1 2008/12/09 10:33:36 ahoka Exp $ --- exo-mount/exo-mount-fstab.c.orig 2007-12-02 13:33:44.000000000 +0100 +++ exo-mount/exo-mount-fstab.c @@ -36,9 +36,15 @@ -/* define _PATH_MOUNT if undefined */ +/* define _PATH_MOUNT if undefined + * TODO: My fix is even worse than the original, make it correct. + */ #ifndef _PATH_MOUNT -#define _PATH_MOUNT "/bin/mount" +# if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) +# define _PATH_MOUNT "/sbin/mount" +# else +# define _PATH_MOUNT "/bin/mount" +# endif /* __NetBSD__ */ #endif