Module: wine Branch: master Commit: 5f29bcda6a2f67c826add8a0e59a7ac0f5fd6537 URL: https://gitlab.winehq.org/wine/wine/-/commit/5f29bcda6a2f67c826add8a0e59a7ac... Author: Zebediah Figura <zfigura(a)codeweavers.com> Date: Mon Oct 31 23:52:11 2022 -0500 ntdll: Make the "not found" trace in nt_to_unix_file_name_no_root() less misleading. unix_name is not guaranteed to be zero-terminated at this point. --- dlls/ntdll/unix/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/unix/file.c b/dlls/ntdll/unix/file.c index 6b73d9dc7e8..44ff136c423 100644 --- a/dlls/ntdll/unix/file.c +++ b/dlls/ntdll/unix/file.c @@ -3540,7 +3540,7 @@ static NTSTATUS nt_to_unix_file_name_no_root( const UNICODE_STRING *nameW, char } else { - TRACE( "%s not found in %s\n", debugstr_w(name), unix_name ); + TRACE( "%s not found in %s\n", debugstr_w(name), debugstr_an(unix_name, pos) ); free( unix_name ); } return status;