summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/confdb/confdb.c2
-rw-r--r--src/confdb/confdb.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c
index cfead5f95..c46b76565 100644
--- a/src/confdb/confdb.c
+++ b/src/confdb/confdb.c
@@ -517,7 +517,7 @@ done:
int confdb_init(TALLOC_CTX *mem_ctx,
struct confdb_ctx **cdb_ctx,
- char *confdb_location)
+ const char *confdb_location)
{
struct confdb_ctx *cdb;
int ret = EOK;
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h
index 06faa43ba..452fbdc9a 100644
--- a/src/confdb/confdb.h
+++ b/src/confdb/confdb.h
@@ -152,7 +152,7 @@ struct sss_domain_info {
*/
int confdb_init(TALLOC_CTX *mem_ctx,
struct confdb_ctx **cdb_ctx,
- char *confdb_location);
+ const char *confdb_location);
/**
* Get a domain object for the named domain