summaryrefslogtreecommitdiff
path: root/net/coda_server/patches/patch-ab
blob: 0ac2ce668597399434eb12e2422c20116c045d7e (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.2 1998/10/02 13:44:39 agc 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);