Index: lib/sdk/crt/stdio/file.c =================================================================== --- lib/sdk/crt/stdio/file.c (revision 62704) +++ lib/sdk/crt/stdio/file.c (working copy) @@ -2813,7 +2813,7 @@ { int open_flags, stream_flags, fd; - TRACE(":path (%p) mode (%s) file (%p) fd (%d)\n", debugstr_w(path), debugstr_w(mode), file, file->_file); + TRACE(":path (%p) mode (%s) file (%p) fd (%d)\n", debugstr_w(path), debugstr_w(mode), file, file ? file->_file : 0); LOCK_FILES(); if (!file || ((fd = file->_file) < 0) || fd > fdend)