From: Rusty Russell Date: Thu, 7 Apr 2011 11:18:27 +0000 (+0930) Subject: tdb2: fix an error message misspelling. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=142e3d312251b46526350ddfebaca6286146aaf2 tdb2: fix an error message misspelling. --- diff --git a/ccan/tdb2/open.c b/ccan/tdb2/open.c index c6fd9a09..7cbac0af 100644 --- a/ccan/tdb2/open.c +++ b/ccan/tdb2/open.c @@ -174,7 +174,7 @@ static enum TDB_ERROR tdb_new_file(struct tdb_context *tdb) tdb->file = malloc(sizeof(*tdb->file)); if (!tdb->file) 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->lockrecs = NULL; tdb->file->allrecord_lock.count = 0;