From 3289e7349ae2523016abed890df1c5fc15a8a9b9 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 31 Mar 2023 11:10:03 +0200 Subject: [PATCH] lib:dbwrap: Fix code spelling Best reviewed with: `git show --word-diff`. Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- lib/dbwrap/dbwrap.h | 2 +- lib/dbwrap/dbwrap_rbt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dbwrap/dbwrap.h b/lib/dbwrap/dbwrap.h index cfae403b178..834b10f0942 100644 --- a/lib/dbwrap/dbwrap.h +++ b/lib/dbwrap/dbwrap.h @@ -123,7 +123,7 @@ NTSTATUS dbwrap_parse_record(struct db_context *db, TDB_DATA key, * @param[out] req_state Pointer to a enum dbwrap_req_state variable * * @note req_state is updated in the send function. To determine the final - * result of the request the caller should therefor not rely on req_state. The + * result of the request the caller should therefore not rely on req_state. The * primary use case is to give the caller an indication whether the request is * already sent to ctdb (DBWRAP_REQ_DISPATCHED) or if it's still stuck in the * sendqueue (DBWRAP_REQ_QUEUED). diff --git a/lib/dbwrap/dbwrap_rbt.c b/lib/dbwrap/dbwrap_rbt.c index 691acef688d..89d30bb3232 100644 --- a/lib/dbwrap/dbwrap_rbt.c +++ b/lib/dbwrap/dbwrap_rbt.c @@ -358,7 +358,7 @@ static struct db_record *db_rbt_fetch_locked(struct db_context *db_ctx, /* * In this low-level routine, play tricks to reduce the number of - * tallocs to one. Not recommened for general use, but here it pays + * tallocs to one. Not recommended for general use, but here it pays * off. */