diff --git a/dll/win32/shell32/shellrecyclebin/recyclebin_v5.cpp b/dll/win32/shell32/shellrecyclebin/recyclebin_v5.cpp index 08146caca74..7ab155fcdc4 100644 --- a/dll/win32/shell32/shellrecyclebin/recyclebin_v5.cpp +++ b/dll/win32/shell32/shellrecyclebin/recyclebin_v5.cpp @@ -1,4 +1,4 @@ -/* +/* * PROJECT: Recycle bin management * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later) * PURPOSE: Deals with recycle bins of Windows 2000/XP/2003 @@ -238,7 +238,7 @@ STDMETHODIMP RecycleBin5::DeleteFile(_In_ LPCWSTR szFileName) HRESULT hr; WIN32_FIND_DATAW wfd = {}; - TRACE("(%p, %s)\n", this, debugstr_w(szFileName)); + DPRINTF("recyclebin_v5.cpp:241 (%p, %s)\n", this, debugstr_w(szFileName)); if (m_EnumeratorCount != 0) return HRESULT_FROM_WIN32(ERROR_SHARING_VIOLATION); @@ -374,7 +374,8 @@ STDMETHODIMP RecycleBin5::DeleteFile(_In_ LPCWSTR szFileName) goto cleanup; } pDeletedFile->dwPhysicalFileSize = ROUND_UP(FileSize.u.LowPart, ClusterSize); - + DPRINTF("recyclebin_v5.cpp:377 PhysicalFileSize/FileSize.u.LowPart %ld / %ld\n", + pDeletedFile->dwPhysicalFileSize, FileSize.u.LowPart); /* Set name */ wcscpy(pDeletedFile->FileNameW, szFullName); if (WideCharToMultiByte(CP_ACP, 0, pDeletedFile->FileNameW, -1, pDeletedFile->FileNameA, MAX_PATH, NULL, NULL) == 0) diff --git a/drivers/filesystems/fastfat/allocsup.c b/drivers/filesystems/fastfat/allocsup.c index c29a1efcb13..a3f328fbed2 100644 --- a/drivers/filesystems/fastfat/allocsup.c +++ b/drivers/filesystems/fastfat/allocsup.c @@ -14,6 +14,7 @@ Abstract: --*/ #include "fatprocs.h" +#include // // The Bug check file id for this module @@ -1730,7 +1731,8 @@ Arguments: // if (FcbOrDcb->Header.FileSize.LowPart > FcbOrDcb->Header.AllocationSize.LowPart) { - + DPRINT1("FileSize.LowPart %ld, AllocationSize.LowPart %ld\n", + FcbOrDcb->Header.FileSize.LowPart, FcbOrDcb->Header.AllocationSize.LowPart); FatPopUpFileCorrupt( IrpContext, FcbOrDcb ); FatRaiseStatus( IrpContext, STATUS_FILE_CORRUPT_ERROR ); }