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
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;
}