Module: wine Branch: master Commit: 58ad68e774831671d47955243a5f3db185ed44c5 URL: https://gitlab.winehq.org/wine/wine/-/commit/58ad68e774831671d47955243a5f3db...
Author: Eric Pouech epouech@codeweavers.com Date: Mon Jun 10 12:30:59 2024 +0200
msvcrt/tests: Don't print a NULL string.
Signed-off-by: Eric Pouech epouech@codeweavers.com
---
dlls/msvcrt/tests/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcrt/tests/file.c b/dlls/msvcrt/tests/file.c index b81469009cd..bce6a0b0509 100644 --- a/dlls/msvcrt/tests/file.c +++ b/dlls/msvcrt/tests/file.c @@ -2025,8 +2025,8 @@ static void test_chsize( void ) LONG cur, pos, count; char temptext[] = "012345678"; char *tempfile = _tempnam( ".", "tst" ); - - ok( tempfile != NULL, "Couldn't create test file: %s\n", tempfile ); + + ok( tempfile != NULL, "Couldn't create test file\n" );
fd = _open( tempfile, _O_CREAT|_O_TRUNC|_O_RDWR, _S_IREAD|_S_IWRITE ); ok( fd > 0, "Couldn't open test file\n" );