1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-29 13:49:30 +03:00

make debug easier to read

(This used to be commit d64bb07f0a)
This commit is contained in:
Andrew Tridgell
2000-05-05 01:20:25 +00:00
parent a6280d37c6
commit 8ea45ac5ce

View File

@ -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);
}
/*****************************************************