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:
Robert Hak 2002-05-31 22:48:34 +00:00
parent 739f2ae0fe
commit 57fa71d387

View file

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