summaryrefslogtreecommitdiff
path: root/sysutils/mc46/patches/patch-ab
blob: 635faca6682d19569f885d44694ed520622fe37a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1.1.1 2011/01/23 14:31:56 wiz Exp $

--- vfs/sfs.c.orig	2008-02-14 12:27:01.000000000 +0100
+++ vfs/sfs.c
@@ -314,7 +314,7 @@ static int sfs_init (struct vfs_class *m
     FILE *cfg;
     char key[256];
 
-    mc_sfsini = concat_dir_and_file (mc_home, "extfs" PATH_SEP_STR "sfs.ini");
+    mc_sfsini = concat_dir_and_file ("@PKG_SYSCONFDIR@", "sfs.ini");
     cfg = fopen (mc_sfsini, "r");
 
     if (!cfg){