diff options
-rw-r--r-- | src/ck-sysdeps-netbsd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ck-sysdeps-netbsd.c b/src/ck-sysdeps-netbsd.c index c1fc221..d1e15f6 100644 --- a/src/ck-sysdeps-netbsd.c +++ b/src/ck-sysdeps-netbsd.c @@ -36,7 +36,6 @@ #include <sys/types.h> #include <sys/stat.h> #include <sys/sysctl.h> -#include <sys/user.h> #include <sys/ioctl.h> #ifdef HAVE_SYS_MOUNT_H @@ -494,7 +493,7 @@ ck_make_tmpfs (guint uid, guint gid, const gchar *dest) opts = g_strdup_printf ("mode=0700,uid=%d", uid); - result = mount("tmpfs", dest, 0, opts); + result = mount("tmpfs", dest, 0, opts, strlen(opts)); g_free (opts); |