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

--- vfs/extfs.c.orig	2008-02-14 12:26:28.000000000 +0100
+++ vfs/extfs.c
@@ -1278,7 +1278,7 @@ static int extfs_init (struct vfs_class 
     char *mc_extfsini;
     char key[256];
 
-    mc_extfsini = concat_dir_and_file (mc_home, "extfs" PATH_SEP_STR "extfs.ini");
+    mc_extfsini = concat_dir_and_file ("@PKG_SYSCONFDIR@", "extfs.ini");
     cfg = fopen (mc_extfsini, "r");
 
     /* We may not use vfs_die() message or message or similar,