mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[REACTOS] Improve/Fix some "printf" formats (#555)
The smbios.c one was initially spotted by "Alahndro" on CORE-6328.
This commit is contained in:
parent
e0f5ded66a
commit
3ca1ac639c
3 changed files with 9 additions and 9 deletions
|
@ -418,7 +418,7 @@ HRESULT CDefView::IncludeObject(PCUITEMID_CHILD pidl)
|
|||
{
|
||||
TRACE("ICommDlgBrowser::IncludeObject pidl=%p\n", pidl);
|
||||
ret = m_pCommDlgBrowser->IncludeObject(this, pidl);
|
||||
TRACE("--0x%08x\n", ret);
|
||||
TRACE("-- returns 0x%08x\n", ret);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
@ -432,7 +432,7 @@ HRESULT CDefView::OnDefaultCommand()
|
|||
{
|
||||
TRACE("ICommDlgBrowser::OnDefaultCommand\n");
|
||||
ret = m_pCommDlgBrowser->OnDefaultCommand(this);
|
||||
TRACE("-- returns %08x\n", ret);
|
||||
TRACE("-- returns 0x%08x\n", ret);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
@ -2082,7 +2082,7 @@ HRESULT WINAPI CDefView::TranslateAccelerator(LPMSG lpmsg)
|
|||
if (::TranslateAcceleratorW(m_hWnd, m_hAccel, lpmsg) != 0)
|
||||
return S_OK;
|
||||
|
||||
TRACE("-- key=0x04%lx\n", lpmsg->wParam) ;
|
||||
TRACE("-- key=0x%04lx\n", lpmsg->wParam) ;
|
||||
}
|
||||
|
||||
return m_pShellBrowser->TranslateAcceleratorSB(lpmsg, 0);
|
||||
|
@ -3179,7 +3179,7 @@ HRESULT WINAPI CDefView::Unfreeze(DWORD dwFreeze)
|
|||
|
||||
HRESULT WINAPI CDefView::SetAdvise(DWORD aspects, DWORD advf, IAdviseSink *pAdvSink)
|
||||
{
|
||||
FIXME("partial stub: %p %08x %08x %p\n", this, aspects, advf, pAdvSink);
|
||||
FIXME("partial stub: %p 0x%08x 0x%08x %p\n", this, aspects, advf, pAdvSink);
|
||||
|
||||
/* FIXME: we set the AdviseSink, but never use it to send any advice */
|
||||
m_pAdvSink = pAdvSink;
|
||||
|
|
|
@ -229,7 +229,7 @@ WmipQueryRawSMBiosTables(
|
|||
Status = WmipGetRawSMBiosTableData(OutBuffer ? &TableData : NULL, &TableSize);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("WmipGetRawSMBiosTableData failed: 0x08lx\n", Status);
|
||||
DPRINT1("WmipGetRawSMBiosTableData failed: 0x%08lx\n", Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
|
|
@ -482,7 +482,7 @@ NtUserGetIconInfo(
|
|||
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
WARN("Status: 0x%08x.\n", Status);
|
||||
WARN("Status: 0x%08lx\n", Status);
|
||||
SetLastNtError(Status);
|
||||
goto leave;
|
||||
}
|
||||
|
@ -1334,7 +1334,7 @@ IntSetAconData(
|
|||
/* Check if the flags are valid */
|
||||
if (pcdFrame->CURSORF_flags & ~(CURSORF_USER_MASK|CURSORF_ACONFRAME))
|
||||
{
|
||||
ERR("Invalid flags for acon frame %u: 0x%lx\n",
|
||||
ERR("Invalid flags for acon frame %u: 0x%08lx\n",
|
||||
i, pcdFrame->CURSORF_flags);
|
||||
goto Cleanup;
|
||||
}
|
||||
|
@ -1436,7 +1436,7 @@ UserSetCursorIconData(
|
|||
&atomModName);
|
||||
if (!NT_SUCCESS(status))
|
||||
{
|
||||
ERR("Failed to create atom from module name '%wZ': %0x8lx\n",
|
||||
ERR("Failed to create atom from module name '%wZ': 0x%08lx\n",
|
||||
pustrModule, status);
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -2179,7 +2179,7 @@ NtUserGetCursorFrameInfo(
|
|||
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
WARN("Status: 0x%08x.\n", Status);
|
||||
WARN("Status: 0x%08lx\n", Status);
|
||||
SetLastNtError(Status);
|
||||
ret = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue