mirror of
https://github.com/anrieff/libcpuid
synced 2024-12-16 16:35:45 +00:00
Ported to strict C
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@37 3b4be424-7ac5-41d7-8526-f4ddcb85d872
This commit is contained in:
parent
a1395632fa
commit
8fa280cdbd
1 changed files with 1 additions and 1 deletions
|
@ -62,8 +62,8 @@ void warnf(const char* format, ...)
|
|||
void debugf(int verboselevel, const char* format, ...)
|
||||
{
|
||||
char buff[1024];
|
||||
if (verboselevel > _current_verboselevel) return;
|
||||
va_list va;
|
||||
if (verboselevel > _current_verboselevel) return;
|
||||
va_start(va, format);
|
||||
vsnprintf(buff, sizeof(buff), format, va);
|
||||
va_end(va);
|
||||
|
|
Loading…
Reference in a new issue