From 09e756b1d651caef203a4b7e02234f6dea374b08 Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Sun, 21 Feb 2010 16:07:43 +1100 Subject: Spelling fixes for tdb. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matthias Dieter Wallnöfer --- lib/tdb/common/freelist.c | 2 +- lib/tdb/common/tdb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tdb/common/freelist.c b/lib/tdb/common/freelist.c index 8113b54951..c7d908edfd 100644 --- a/lib/tdb/common/freelist.c +++ b/lib/tdb/common/freelist.c @@ -98,7 +98,7 @@ static int update_tailer(struct tdb_context *tdb, tdb_off_t offset, } /* Add an element into the freelist. Merge adjacent records if - neccessary. */ + necessary. */ int tdb_free(struct tdb_context *tdb, tdb_off_t offset, struct tdb_record *rec) { /* Allocation and tailer lock */ diff --git a/lib/tdb/common/tdb.c b/lib/tdb/common/tdb.c index d2688def04..f6ae3fd14b 100644 --- a/lib/tdb/common/tdb.c +++ b/lib/tdb/common/tdb.c @@ -212,7 +212,7 @@ TDB_DATA tdb_fetch(struct tdb_context *tdb, TDB_DATA key) * function. The parsing function is executed under the chain read lock, so it * should be fast and should not block on other syscalls. * - * DONT CALL OTHER TDB CALLS FROM THE PARSER, THIS MIGHT LEAD TO SEGFAULTS. + * DON'T CALL OTHER TDB CALLS FROM THE PARSER, THIS MIGHT LEAD TO SEGFAULTS. * * For mmapped tdb's that do not have a transaction open it points the parsing * function directly at the mmap area, it avoids the malloc/memcpy in this -- cgit