diff options
author | Volker Lendecke <vl@samba.org> | 2012-12-14 08:01:12 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-12-21 11:54:47 +0100 |
commit | 7237fdd4ddc0b9c848b5936431b4f8731ce56dba (patch) | |
tree | 17a3ab08193b038243c733adef743f91dc1941a4 /lib/tdb | |
parent | d2b852d79bd83754d8952a0e3dece00e513549f2 (diff) | |
download | samba-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.c | 2 |
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(). |