summaryrefslogtreecommitdiff
path: root/source3/tdb/README
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tdb/README')
-rw-r--r--source3/tdb/README3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/tdb/README b/source3/tdb/README
index fac3eacb4d..3715c685c2 100644
--- a/source3/tdb/README
+++ b/source3/tdb/README
@@ -60,7 +60,8 @@ TDB_CONTEXT *tdb_open(char *name, int hash_size, int tdb_flags,
The hash size is advisory, use zero for a default value.
- return is NULL on error
+ Return is NULL on error, in which case errno is also set. Don't
+ try to call tdb_error or tdb_errname, just do strerror(errno).
possible tdb_flags are:
TDB_CLEAR_IF_FIRST - clear database if we are the only one with it open