1
0
Fork 0
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:
Veselin Georgiev 2008-12-08 16:53:59 +00:00
parent a1395632fa
commit 8fa280cdbd

View file

@ -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);