summaryrefslogtreecommitdiff
path: root/sysutils/xfsprogs/patches/patch-ag
blob: c86f7204588a7b9c0f40407c1817b838fde31775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ag,v 1.1.1.1 2005/12/30 23:03:06 agc Exp $

--- libxcmd/paths.c	2005/12/29 16:23:04	1.1
+++ libxcmd/paths.c	2005/12/29 16:25:03
@@ -228,7 +228,11 @@
 fs_table_initialise_mounts(
 	char		*path)
 {
+#if (defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900))
+	struct statvfs	*stats;
+#else
 	struct statfs	*stats;
+#endif
 	char		*dir = NULL, *fsname = NULL, *fslog = NULL, *fsrt = NULL;
 	int		i, count, found = 0, error = 0;