diff options
author | Volker Lendecke <vl@samba.org> | 2019-11-04 07:39:48 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-11-06 20:36:35 +0000 |
commit | 001371f45e5a069aa9cfaef9c35dc47b371935a8 (patch) | |
tree | 860a7d4cfe86bd2a6d097da359d2ec5d332b01f3 /source3 | |
parent | 3f80b8abac3e4a59371017b841cc43dfe486f18e (diff) | |
download | samba-001371f45e5a069aa9cfaef9c35dc47b371935a8.tar.gz |
vfs: Use file_id_str_buf() in smb_full_audit_file_id_create()
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_full_audit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index a13c4da419b..efb34ca72b3 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -1877,6 +1877,7 @@ static struct file_id smb_full_audit_file_id_create(struct vfs_handle_struct *ha { struct file_id id_zero; struct file_id result; + struct file_id_buf idbuf; ZERO_STRUCT(id_zero); @@ -1884,7 +1885,9 @@ static struct file_id smb_full_audit_file_id_create(struct vfs_handle_struct *ha do_log(SMB_VFS_OP_FILE_ID_CREATE, !file_id_equal(&id_zero, &result), - handle, "%s", file_id_string_tos(&result)); + handle, + "%s", + file_id_str_buf(result, &idbuf)); return result; } |