diff options
Diffstat (limited to 'usr.sbin/ldapctl/ldapctl.c')
| -rw-r--r-- | usr.sbin/ldapctl/ldapctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldapctl/ldapctl.c b/usr.sbin/ldapctl/ldapctl.c index c8564c5543f..fce71fb4d54 100644 --- a/usr.sbin/ldapctl/ldapctl.c +++ b/usr.sbin/ldapctl/ldapctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldapctl.c,v 1.13 2019/10/24 12:39:26 tb Exp $ */ +/* $OpenBSD: ldapctl.c,v 1.14 2020/03/05 07:39:25 martijn Exp $ */ /* * Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se> @@ -150,7 +150,7 @@ index_namespace(struct namespace *ns, const char *datadir) log_info("indexing namespace %s", ns->suffix); - if (asprintf(&path, "%s/%s_data.db", DATADIR, ns->suffix) == -1) + if (asprintf(&path, "%s/%s_data.db", datadir, ns->suffix) == -1) return -1; data_db = btree_open(path, BT_NOSYNC | BT_REVERSEKEY, 0644); free(path); |
