summaryrefslogtreecommitdiff
path: root/filesystems/fuse-ntfs-3g/patches/patch-ac
blob: ffb0f972b3a2ecb907d0fb3562b6d9b1e6eed1f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ac,v 1.1 2007/02/28 21:34:39 xtraeme Exp $

--- src/ntfs-3g.c.orig	2007-02-28 22:33:03.000000000 +0100
+++ src/ntfs-3g.c	2007-02-28 22:33:32.000000000 +0100
@@ -2116,13 +2116,13 @@
 		ntfs_log_perror("Failed to set user ID to %d", euid);
 		goto err_out;
 	}
-
+#ifndef __NetBSD__
 	fstype = get_fuse_fstype();
 	if (fstype == FSTYPE_NONE || fstype == FSTYPE_UNKNOWN)
 		fstype = load_fuse_module();
 	
 	create_dev_fuse();
-	
+#endif	
 	if (stat(opts.device, &sbuf)) {
 		ntfs_log_perror("Failed to access '%s'", opts.device);
 		goto err_out;