blob: 989483b8d0b95ab257a3d1674b0c1388e0940b12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ak,v 1.1 2012/02/23 15:20:53 ghen Exp $
--- src/lib/mountpoint.c.orig 2012-02-12 19:58:18.000000000 +0000
+++ src/lib/mountpoint.c
@@ -136,7 +136,7 @@ struct mountpoint_iter {
#elif defined(MOUNTPOINT_SOLARIS) || defined(MOUNTPOINT_LINUX)
FILE *f;
#elif defined(HAVE_GETMNTINFO) /* BSDs */
- struct statfs *fs;
+ struct statvfs *fs;
int count;
#endif
struct mountpoint mnt;
@@ -286,7 +286,7 @@ const struct mountpoint *mountpoint_iter
return NULL;
#elif defined(HAVE_GETMNTINFO) /* BSDs */
while (iter->count > 0) {
- struct statfs *fs = iter->fs;
+ struct statvfs *fs = iter->fs;
iter->fs++;
iter->count--;
|