From abac60537ea825400dce4d34c5406b8e48783102 Mon Sep 17 00:00:00 2001 From: Andreas Schlick Date: Fri, 4 Mar 2011 16:41:53 +0100 Subject: [PATCH] tdb2: Correct the comment explaining tdb_brlock(). --- ccan/tdb2/lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccan/tdb2/lock.c b/ccan/tdb2/lock.c index b57c5344..b1799a7e 100644 --- a/ccan/tdb2/lock.c +++ b/ccan/tdb2/lock.c @@ -120,7 +120,7 @@ static int fcntl_unlock(struct tdb_context *tdb, int rw, off_t off, off_t len) } /* a byte range locking function - return 0 on success - this functions locks/unlocks 1 byte at the specified offset. + this functions locks len bytes at the specified offset. note that a len of zero means lock to end of file */ -- 2.39.2