summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-bc
blob: f3517e186131b47d56fd3fec626e85e0bbaf98ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bc,v 1.2 2007/10/28 07:28:48 taca Exp $

--- intl/lang_tdb.c.orig	2007-03-01 13:54:31.000000000 +0900
+++ intl/lang_tdb.c
@@ -139,7 +139,7 @@ BOOL lang_tdb_init(const char *lang)
 		goto done;
 	}
 	
-	asprintf(&path, "%s%s.tdb", lock_path("lang_"), lang);
+	asprintf(&path, "%s%s.tdb", state_path("lang_"), lang);
 
 	DEBUG(10, ("lang_tdb_init: loading %s\n", path));