summaryrefslogtreecommitdiff
path: root/net/coda_client/patches/patch-ae
blob: b18f7fb8a845a3b6e7edf7512579681b78aefa0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ae,v 1.1 1998/10/05 23:06:15 rvb Exp $

Index: coda-src/venus/worker.cc
===================================================================
RCS file: /afs/cs/project/coda-src/cvs/coda/coda-src/venus/worker.cc,v
retrieving revision 4.17.4.2
diff -u -r4.17.4.2 worker.cc
--- worker.cc	1998/10/05 02:09:40	4.17.4.2
+++ worker.cc	1998/10/05 15:50:36
@@ -290,9 +290,11 @@
 #endif /* __MACH__ */
 #ifdef __BSD44__
     if (mount("coda", venusRoot, 0, kernDevice) < 0) {
-	eprint("mount(%s, %s) failed (%d), exiting",
-	       kernDevice, venusRoot, errno);
-	exit(-1);
+	if (mount("cfs", venusRoot, 0, kernDevice) < 0) {
+	    eprint("mount(%s, %s) failed (%d), exiting",
+		   kernDevice, venusRoot, errno);
+	    exit(-1);
+	}
     }
 #endif /* __BSD44__ */
 #ifdef __linux__