locking: use correct conversion specifier for printing variables
commit3defbe273459262f333cca91e90a0941a812df1a
authorRalph Boehme <rb@sernet.de>
Sun, 1 Jun 2014 13:16:16 +0000 (1 15:16 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 13 Jun 2014 11:22:18 +0000 (13 13:22 +0200)
tree4737099ca5071ec0bb604928b7b78b72ab6478cf
parent00573880e5f0362c3c442e82501bb0efe731ce7b
locking: use correct conversion specifier for printing variables

Fix several occurences of using printf conversion to fload when
printing offset and count variables in locking debug messages and
smbstatus.

Conversion to float may lead to wrong results with very large values.

Signed-off-by: Ralph Boehme <rb@sernet.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/locking/locking.c
source3/locking/posix.c
source3/utils/status.c