summaryrefslogtreecommitdiff
path: root/net/coda_client/patches/patch-ab
blob: 0973f96e7efdd2b9a33826410476f9e3243a8c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ab,v 1.3 1998/10/02 14:38:58 rvb Exp $

--- coda-b4_6_4/coda-src/venus/worker.cc	Tue Jun 16 06:46:19 1998
+++ ./coda-src/venus/worker.cc	Sat Sep 12 11:24:37 1998
@@ -289,15 +289,7 @@
     }
 #endif /* __MACH__ */
 #ifdef __BSD44__
-#ifndef	MOUNT_CFS
-    /* for FreeBSD
- - Add line below into /usr/include/sys/mount.h. Don't forget to adjust
-		MOUNT_MAXTYPE.
-	# define MOUNT_CFS	old MOUNT_MAXTYPE +1
-	In #define INITMOUNTNAMES,
-	        "cfs",          /* 19 or so MOUNT_CFS */
-#endif
-    if (mount(MOUNT_CFS, venusRoot, 0, kernDevice) < 0) {
+    if (mount("coda", venusRoot, 0, kernDevice) < 0) {
 	eprint("mount(%s, %s) failed (%d), exiting",
 	       kernDevice, venusRoot, errno);
 	exit(-1);