summaryrefslogtreecommitdiff
path: root/net/rdist6/patches/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'net/rdist6/patches/patch-al')
-rw-r--r--net/rdist6/patches/patch-al44
1 files changed, 0 insertions, 44 deletions
diff --git a/net/rdist6/patches/patch-al b/net/rdist6/patches/patch-al
deleted file mode 100644
index 8c0df01f7a8..00000000000
--- a/net/rdist6/patches/patch-al
+++ /dev/null
@@ -1,44 +0,0 @@
-$NetBSD: patch-al,v 1.2 2006/03/23 13:41:41 joerg Exp $
-
---- src/filesys-os.c.orig 1999-08-04 11:57:33.000000000 -0400
-+++ src/filesys-os.c 2004-05-30 22:10:03.000000000 -0400
-@@ -49,7 +49,7 @@
- */
-
- #if FSI_TYPE == FSI_GETFSSTAT
--static struct statfs *mnt = NULL;
-+static statfs_t *mnt = NULL;
- #endif /* FSI_GETFSSTAT */
-
- #if FSI_TYPE == FSI_MNTCTL
-@@ -101,17 +101,17 @@
- if (mntbuf)
- (void) free(mntbuf);
-
-- size = getfsstat((struct statfs *) NULL, 0, MNT_WAIT);
-+ size = getfsstat((statfs_t *) NULL, 0, MNT_WAIT);
- if (size == -1)
- return (NULL);
-- size *= sizeof(struct statfs);
-+ size *= sizeof(statfs_t);
- mntbuf = (char *) xmalloc(size);
-
-- entries_left = getfsstat((struct statfs *)mntbuf, size, MNT_WAIT);
-+ entries_left = getfsstat((statfs_t *)mntbuf, size, MNT_WAIT);
- if (entries_left == -1)
- return((FILE *) NULL);
-
-- mnt = (struct statfs *) mntbuf;
-+ mnt = (statfs_t *) mntbuf;
-
- return((FILE *) 1);
- }
-@@ -195,7 +195,7 @@
- mntstruct.me_type = METYPE_OTHER;
- }
-
-- mnt = (struct statfs*)(sizeof(struct statfs)+(ulong)mnt);
-+ mnt = (statfs_t *)(sizeof(statfs_t)+(unsigned long)mnt);
- entries_left--;
-
- return(&mntstruct);