mirror of
https://github.com/drasko/open-ameba.git
synced 2024-11-22 05:54:17 +00:00
fix printf ret size
This commit is contained in:
parent
34d4d9f465
commit
92002b1ad1
1 changed files with 4 additions and 11 deletions
|
@ -712,11 +712,6 @@ Exit:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************************/
|
/*********************************************************/
|
||||||
|
|
||||||
static int VSprintfPatch(char *buf, const char *fmt, const int *dp)
|
static int VSprintfPatch(char *buf, const char *fmt, const int *dp)
|
||||||
|
@ -899,20 +894,18 @@ static int VSprintfPatch(char *buf, const char *fmt, const int *dp)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
u32 DiagPrintfPatch(
|
int DiagPrintfPatch(
|
||||||
IN const char *fmt, ...
|
IN const char *fmt, ...
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
(void)VSprintfPatch(0, fmt, ((const int *)&fmt)+1);
|
return VSprintfPatch(0, fmt, ((const int *)&fmt)+1);
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 DiagSPrintfPatch(
|
int DiagSPrintfPatch(
|
||||||
IN u8 *buf,
|
IN u8 *buf,
|
||||||
IN const char *fmt, ...
|
IN const char *fmt, ...
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
(void)VSprintfPatch((char*)buf, fmt, ((const int *)&fmt)+1);
|
return VSprintfPatch((char*)buf, fmt, ((const int *)&fmt)+1);
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue