arla 0.28 on FreeBSD-CURRENT

Assar Westerlund assar at sics.se
Tue Nov 23 12:49:40 CET 1999


Kenneth Culver <culverk at culverk.student.umd.edu> writes:
> xfs_wrap-bsd.c:185: macro `DEV_MODULE' used with too many (6) args

As usual, -current is very much a moving target. :-)

Try the following patch.

/assar

Index: xfs/bsd/xfs_wrap-bsd.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/bsd/xfs_wrap-bsd.c,v
retrieving revision 1.26
diff -u -w -r1.26 xfs_wrap-bsd.c
--- xfs/bsd/xfs_wrap-bsd.c	1999/11/16 23:29:00	1.26
+++ xfs/bsd/xfs_wrap-bsd.c	1999/11/23 11:32:38
@@ -43,7 +43,7 @@
 #include <xfs/xfs_syscalls.h>
 #include <xfs/xfs_deb.h>
 
-RCSID("$Id: xfs_wrap-bsd.c,v 1.26 1999/11/16 23:29:00 assar Exp $");
+RCSID("$Id: xfs_wrap-bsd.c,v 1.27 1999/11/23 02:31:36 assar Exp $");
 
 static int xfs_dev_major;
 
@@ -125,7 +125,7 @@
     int i;
 
     for (i = 0; i < NXFS; ++i)
-	remove_dev (makedev (devsw->d_maj, i));
+	destroy_dev (makedev (devsw->d_maj, i));
 #endif /* HAVE_KERNEL_MAKE_DEV */
 }
 
@@ -167,10 +167,6 @@
 
 extern struct sysent xfs_syscallent;
 
-/* XXX */
-
-#define AFS_SYSCALL 210
-
 VFS_SET(xfs_vfsops, xfs, 0);
 
 /*
@@ -179,10 +175,8 @@
  */
 
 #ifdef DEV_MODULE
-
-#define XFS_DEV_NO 128
 
-DEV_MODULE(xfsdev, XFS_DEV_NO, NOMAJ, xfs_dev, xfs_load, NULL);
+DEV_MODULE(xfsdev, xfs_load, NULL);
 
 #else /* DEV_MODULE */
 





More information about the Arla-drinkers mailing list