From: Volker Lendecke Date: Sat, 9 Nov 2019 17:32:07 +0000 (+0100) Subject: smbd: Use file_id_str_buf() in file_find_dif() X-Git-Tag: talloc-2.3.1~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0dd11a83dc2d4487315f6654f57e7a43ba6ef98e;p=thirdparty%2Fsamba.git smbd: Use file_id_str_buf() in file_find_dif() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/files.c b/source3/smbd/files.c index e0ec601c56f..077610cad75 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -344,11 +344,12 @@ files_struct *file_find_dif(struct smbd_server_connection *sconn, if ((fsp->fh->fd == -1) && (fsp->oplock_type != NO_OPLOCK && fsp->oplock_type != LEASE_OPLOCK)) { + struct file_id_buf idbuf; DEBUG(0,("file_find_dif: file %s file_id = " "%s, gen = %u oplock_type = %u is a " "stat open with oplock type !\n", fsp_str_dbg(fsp), - file_id_string_tos(&fsp->file_id), + file_id_str_buf(fsp->file_id, &idbuf), (unsigned int)fsp->fh->gen_id, (unsigned int)fsp->oplock_type )); smb_panic("file_find_dif");