fixed a section bagder missed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@865 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
739f2ae0fe
commit
57fa71d387
1 changed files with 2 additions and 0 deletions
|
@ -215,11 +215,13 @@ void debug_init(void)
|
|||
|
||||
void debugf(char *fmt, ...)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
va_list ap;
|
||||
|
||||
va_start( ap, fmt );
|
||||
vsnprintf( debugmembuf, sizeof(debugmembuf), fmt, ap );
|
||||
va_end( ap );
|
||||
printf( "%s", debugmembuf );
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue