Commit 142e3d31 authored by Rusty Russell's avatar Rusty Russell

tdb2: fix an error message misspelling.

parent 703cea0c
...@@ -174,7 +174,7 @@ static enum TDB_ERROR tdb_new_file(struct tdb_context *tdb) ...@@ -174,7 +174,7 @@ static enum TDB_ERROR tdb_new_file(struct tdb_context *tdb)
tdb->file = malloc(sizeof(*tdb->file)); tdb->file = malloc(sizeof(*tdb->file));
if (!tdb->file) if (!tdb->file)
return tdb_logerr(tdb, TDB_ERR_OOM, TDB_LOG_ERROR, return tdb_logerr(tdb, TDB_ERR_OOM, TDB_LOG_ERROR,
"tdb_open: could alloc tdb_file structure"); "tdb_open: cannot alloc tdb_file structure");
tdb->file->num_lockrecs = 0; tdb->file->num_lockrecs = 0;
tdb->file->lockrecs = NULL; tdb->file->lockrecs = NULL;
tdb->file->allrecord_lock.count = 0; tdb->file->allrecord_lock.count = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment