diff options
author | Christof Schmitt <cs@samba.org> | 2019-04-09 13:57:36 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-04-10 01:17:28 +0000 |
commit | 56f933fa344e1ed4cbaa15b43cc219591e2eca8a (patch) | |
tree | 83ad44f49c3aca47cf6ccdde52465167dc645475 /source3/modules | |
parent | 9ee32f3a9654452e855bfa99801d977fa7168dec (diff) | |
download | samba-56f933fa344e1ed4cbaa15b43cc219591e2eca8a.tar.gz |
vfs_full_audit: Fix logging of get_real_filename output
result == 0 indicated success. In that case log the available
found_name.
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Apr 10 01:17:28 UTC 2019 on sn-devel-144
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_full_audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index fcfb024d493..a4e2afa0dbb 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -1852,7 +1852,7 @@ static int smb_full_audit_get_real_filename(struct vfs_handle_struct *handle, found_name); do_log(SMB_VFS_OP_GET_REAL_FILENAME, (result == 0), handle, - "%s/%s->%s", path, name, (result == 0) ? "" : *found_name); + "%s/%s->%s", path, name, (result == 0) ? *found_name : ""); return result; } |