From 7237fdd4ddc0b9c848b5936431b4f8731ce56dba Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 14 Dec 2012 08:01:12 +0100 Subject: [PATCH] tdb: Fix a comment Reviewed-by: Rusty Russell Reviewed-by: Stefan Metzmacher --- lib/tdb/common/lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tdb/common/lock.c b/lib/tdb/common/lock.c index 260fab66819..b3299e5500f 100644 --- a/lib/tdb/common/lock.c +++ b/lib/tdb/common/lock.c @@ -126,7 +126,7 @@ static tdb_off_t lock_offset(int list) } /* a byte range locking function - return 0 on success - this functions locks/unlocks 1 byte at the specified offset. + this functions locks/unlocks "len" byte at the specified offset. On error, errno is also set so that errors are passed back properly through tdb_open(). -- 2.11.4.GIT