summaryrefslogtreecommitdiff
path: root/sysutils/mc/patches/patch-ad
blob: 41d74c44976b34e8e47fe2a7d07b07dab208b1dc (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-ad,v 1.7 2002/10/23 08:49:07 bouyer Exp $

--- vfs/smbfs.c.orig	Mon Jul  3 16:31:59 2000
+++ vfs/smbfs.c	Tue Oct 22 22:29:12 2002
@@ -29,7 +29,9 @@
    confilcts with definitions in other includes */
 #undef HAVE_LIBREADLINE
 #define NO_CONFIG_H
+#ifndef SunOS
 #define BOOL_DEFINED
+#endif
 #include "samba/include/includes.h"
 
 #include <string.h>
@@ -375,7 +377,8 @@
 static int
 smbfs_init(vfs *me)
 {
-	char *servicesf = "/etc/smb.conf";
+	/* This must match what net/samba uses. */
+	char *servicesf = "/etc/samba/smb.conf";
 
 /*	DEBUGLEVEL = 4;	*/