From 258952aa85f2a68e2d2362522f6114c6a439f1e3 Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Thu, 2 Jul 2009 09:27:44 -0700 Subject: s3: Plumb smb_filename through SMB_VFS_UNLINK --- source3/modules/vfs_full_audit.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source3/modules/vfs_full_audit.c') diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index e20a65092d..1f5e8333b9 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -910,13 +910,14 @@ static int smb_full_audit_get_alloc_size(vfs_handle_struct *handle, } static int smb_full_audit_unlink(vfs_handle_struct *handle, - const char *path) + const struct smb_filename *smb_fname) { int result; - result = SMB_VFS_NEXT_UNLINK(handle, path); + result = SMB_VFS_NEXT_UNLINK(handle, smb_fname); - do_log(SMB_VFS_OP_UNLINK, (result >= 0), handle, "%s", path); + do_log(SMB_VFS_OP_UNLINK, (result >= 0), handle, "%s", + smb_fname_str_do_log(smb_fname)); return result; } -- cgit