diff options
author | Brad Hards <bradh@frogmouth.net> | 2010-02-21 16:07:43 +1100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-02-22 21:45:31 +0100 |
commit | 09e756b1d651caef203a4b7e02234f6dea374b08 (patch) | |
tree | 85411b664c70d00963993e1e1f4b8be4459fe293 /lib/tdb | |
parent | 6de98ba10bc9c66a068b0e37f0910a6b073f75c2 (diff) | |
download | samba-09e756b1d651caef203a4b7e02234f6dea374b08.tar.gz samba-09e756b1d651caef203a4b7e02234f6dea374b08.tar.bz2 samba-09e756b1d651caef203a4b7e02234f6dea374b08.zip |
Spelling fixes for tdb.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Diffstat (limited to 'lib/tdb')
-rw-r--r-- | lib/tdb/common/freelist.c | 2 | ||||
-rw-r--r-- | 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 |