diff options
author | Michael Adam <obnox@samba.org> | 2014-01-27 16:38:25 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-02-07 16:06:07 +0100 |
commit | 7e766a0a8ade1f018015684c22bda82595a33d38 (patch) | |
tree | 4509a8c1ad30a5f509f6cbbad094e7d975298844 /source4/cluster | |
parent | e4fbaadb5cadaa584f455d624eafe706703cda1a (diff) | |
download | samba-7e766a0a8ade1f018015684c22bda82595a33d38.tar.gz |
dbwrap: add dbwrap_flags argument to dbwrap_local_open()
To be consistent with db_open() and prepare for future
possible extensions.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/cluster')
-rw-r--r-- | source4/cluster/local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cluster/local.c b/source4/cluster/local.c index aa0fd7def4a..0a659509023 100644 --- a/source4/cluster/local.c +++ b/source4/cluster/local.c @@ -63,7 +63,7 @@ static struct db_context *local_db_tmp_open(struct cluster_ops *ops, path = smbd_tmp_path(tmp_ctx, lp_ctx, dbname); db = dbwrap_local_open(mem_ctx, lp_ctx, path, 0, flags, O_RDWR|O_CREAT, - 0600, 0); + 0600, 0, DBWRAP_FLAG_NONE); talloc_free(tmp_ctx); return db; } |