summaryrefslogtreecommitdiff
path: root/sysutils/gnome-vfs/patches/patch-ai
blob: 19070f7ee0620e40378fd90abe59a66c76040296 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ai,v 1.3 2007/09/19 22:22:38 wiz Exp $

--- modules/fstype.c.orig	2004-08-12 11:08:56.000000000 +0200
+++ modules/fstype.c
@@ -349,8 +349,12 @@ filesystem_type_uncached (char *path, ch
 	fstype_internal_error (1, errno, "%s", path);
     }
   else
+#if defined(__NetBSD__)
+    type = fss.f_fstypename;
+#else
     type = fss.f_basetype;
 #endif
+#endif
 
 #ifdef FSTYPE_STATFS		/* 4.4BSD.  */
   struct statfs fss;