summaryrefslogtreecommitdiff
path: root/source4/intl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/intl')
-rw-r--r--source4/intl/lang_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/intl/lang_tdb.c b/source4/intl/lang_tdb.c
index be8bce2391..2ca056ef70 100644
--- a/source4/intl/lang_tdb.c
+++ b/source4/intl/lang_tdb.c
@@ -137,7 +137,7 @@ BOOL lang_tdb_init(const char *lang)
if (!mem_ctx) {
return False;
}
- asprintf(&msg_path, "%s.msg", lib_path(mem_ctx, (const char *)lang));
+ asprintf(&msg_path, "%s.msg", data_path(mem_ctx, (const char *)lang));
if (stat(msg_path, &st) != 0) {
/* the msg file isn't available */
free(msg_path);