summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/examples/ldbreader.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/examples/ldbreader.c')
-rw-r--r--source4/lib/ldb/examples/ldbreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/examples/ldbreader.c b/source4/lib/ldb/examples/ldbreader.c
index c8f26c3860..6e58114531 100644
--- a/source4/lib/ldb/examples/ldbreader.c
+++ b/source4/lib/ldb/examples/ldbreader.c
@@ -67,7 +67,7 @@ int main(int argc, const char **argv)
Note that you can use the context structure as a parent
for talloc allocations as well
*/
- ldb = ldb_init(NULL);
+ ldb = ldb_init(NULL, NULL);
/*
We now open the database. In this example we just hard code the connection path.