summaryrefslogtreecommitdiff
path: root/lib/tdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-12-14 08:01:12 +0100
committerStefan Metzmacher <metze@samba.org>2012-12-21 11:54:47 +0100
commit7237fdd4ddc0b9c848b5936431b4f8731ce56dba (patch)
tree17a3ab08193b038243c733adef743f91dc1941a4 /lib/tdb
parentd2b852d79bd83754d8952a0e3dece00e513549f2 (diff)
downloadsamba-7237fdd4ddc0b9c848b5936431b4f8731ce56dba.tar.gz
samba-7237fdd4ddc0b9c848b5936431b4f8731ce56dba.tar.bz2
samba-7237fdd4ddc0b9c848b5936431b4f8731ce56dba.zip
tdb: Fix a comment
Reviewed-by: Rusty Russell <rusty@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/tdb')
-rw-r--r--lib/tdb/common/lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/common/lock.c b/lib/tdb/common/lock.c
index 260fab6681..b3299e5500 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().