X-Git-Url: http://git.samba.org/?a=blobdiff_plain;f=source3%2Fmodules%2Fvfs_full_audit.c;h=408f834858c886869a4123df3ecb3dc007bae6bd;hb=6ae2d86b9ccc0ebe73dc911a1d5f06bd53613acf;hp=609ef378fddc0e3abb23881d44b0ad8745ccf4c6;hpb=4ad426a7c6c9fffa41df5bcafd9f420c257b6805;p=amitay%2Fsamba.git diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index 609ef378fdd..408f834858c 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -1639,13 +1639,16 @@ static int smb_full_audit_symlink(vfs_handle_struct *handle, } static int smb_full_audit_readlink(vfs_handle_struct *handle, - const char *path, char *buf, size_t bufsiz) + const struct smb_filename *smb_fname, + char *buf, + size_t bufsiz) { int result; - result = SMB_VFS_NEXT_READLINK(handle, path, buf, bufsiz); + result = SMB_VFS_NEXT_READLINK(handle, smb_fname, buf, bufsiz); - do_log(SMB_VFS_OP_READLINK, (result >= 0), handle, "%s", path); + do_log(SMB_VFS_OP_READLINK, (result >= 0), handle, "%s", + smb_fname->base_name); return result; }