summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-05 01:20:25 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-05 01:20:25 +0000
commit8ea45ac5ced9cd45cc082a736532b5f771635810 (patch)
tree0c38b9d4c5aae1d73290d623ed7105e6760861a1 /source3
parenta6280d37c618223bab87b6f7d338070de55f27b9 (diff)
downloadsamba-8ea45ac5ced9cd45cc082a736532b5f771635810.tar.gz
samba-8ea45ac5ced9cd45cc082a736532b5f771635810.tar.bz2
samba-8ea45ac5ced9cd45cc082a736532b5f771635810.zip
make debug easier to read
(This used to be commit d64bb07f0ad0efa1a20015b620ae33fb082b1e44)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/locktest.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/source3/utils/locktest.c b/source3/utils/locktest.c
index 7aa32325a4..106fce8063 100644
--- a/source3/utils/locktest.c
+++ b/source3/utils/locktest.c
@@ -73,11 +73,6 @@ static void print_brl(SMB_DEV_T dev, SMB_INO_T ino, int pid,
enum brl_type lock_type,
br_off start, br_off size)
{
- printf("%6d %05x:%05x %s %9.0f %9.0f\n",
- (int)pid, (int)dev, (int)ino,
- lock_type==READ_LOCK?"R":"W",
- (double)start, (double)size);
-
#if NASTY_POSIX_LOCK_HACK
{
pstring cmd;
@@ -91,6 +86,12 @@ static void print_brl(SMB_DEV_T dev, SMB_INO_T ino, int pid,
lastino = ino;
}
#endif
+
+ printf("%6d %05x:%05x %s %9.0f %9.0f %9.0f\n",
+ (int)pid, (int)dev, (int)ino,
+ lock_type==READ_LOCK?"R":"W",
+ (double)start, (double)size, (double)start+size);
+
}
/*****************************************************