vfs: Use file_id_str_buf() in vfs_delay_inject_brl_lock_timer()
authorVolker Lendecke <vl@samba.org>
Tue, 5 Nov 2019 20:56:44 +0000 (21:56 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 6 Nov 2019 21:58:52 +0000 (21:58 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Nov  6 21:58:52 UTC 2019 on sn-devel-184

source3/modules/vfs_delay_inject.c

index 569bd40054a712cb8b33e89187b5a3d86b0b953d..6be9fe5729233043430bbd72ea936d4fe8256a49 100644 (file)
@@ -334,8 +334,9 @@ static void vfs_delay_inject_brl_lock_timer(struct tevent_context *ev,
 
        status = share_mode_wakeup_waiters(state->fsp->file_id);
        if (!NT_STATUS_IS_OK(status)) {
+               struct file_id_buf idbuf;
                DBG_ERR("share_mode_wakeup_waiters(%s) %s\n",
-                       file_id_string_tos(&state->fsp->file_id),
+                       file_id_str_buf(state->fsp->file_id, &idbuf),
                        nt_errstr(status));
        }
 }