summaryrefslogtreecommitdiff
path: root/source3/locking/posix.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-06 15:42:48 +0200
committerMichael Adam <obnox@samba.org>2012-06-06 23:21:59 +0200
commit1c01cb45101a2f0193921ba967f800bdf6bb83cb (patch)
tree7a13ec49b74d1ae98bdd720b6802f9a58ea99359 /source3/locking/posix.c
parentfab660780ab5f3afda11ae3daee8f50571fc4145 (diff)
downloadsamba-1c01cb45101a2f0193921ba967f800bdf6bb83cb.tar.gz
samba-1c01cb45101a2f0193921ba967f800bdf6bb83cb.tar.bz2
samba-1c01cb45101a2f0193921ba967f800bdf6bb83cb.zip
s3:include: change lock_struct->fnum to uint64_t
Note: this changes the format of brlock.tdb! Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Jun 6 23:22:00 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/locking/posix.c')
-rw-r--r--source3/locking/posix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/locking/posix.c b/source3/locking/posix.c
index 557099b2d8..2a274f9a00 100644
--- a/source3/locking/posix.c
+++ b/source3/locking/posix.c
@@ -791,7 +791,8 @@ static struct lock_list *posix_lock_list(TALLOC_CTX *ctx,
for (l_curr = lhead; l_curr;) {
- DEBUG(10,("posix_lock_list: lock: fnum=%d: start=%.0f,size=%.0f:type=%s", lock->fnum,
+ DEBUG(10,("posix_lock_list: lock: fnum=%llu: start=%.0f,size=%.0f:type=%s",
+ (unsigned long long)lock->fnum,
(double)lock->start, (double)lock->size, posix_lock_type_name(lock->lock_type) ));
if ( (l_curr->start >= (lock->start + lock->size)) ||