1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

torture3: Use file_id_str_buf() in print_brl()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2019-11-09 20:58:26 +01:00 committed by Jeremy Allison
parent 79291056c5
commit 64349ce717

View File

@ -156,8 +156,11 @@ static void print_brl(struct file_id id, struct server_id pid,
br_off start, br_off size,
void *private_data)
{
struct file_id_buf idbuf;
printf("%6d %s %s %.0f:%.0f(%.0f)\n",
(int)procid_to_pid(&pid), file_id_string_tos(&id),
(int)procid_to_pid(&pid),
file_id_str_buf(id, &idbuf),
lock_type==READ_LOCK?"R":"W",
(double)start, (double)start+size-1,(double)size);