/shark/trunk/libc/stdio/printf.c |
---|
60,7 → 60,8 |
{ |
int ret; |
va_list ap; |
#ifdef __SHARK_FS_SUPPORT__ |
#if __STDC__ |
va_start(ap, fmt); |
#else |
67,6 → 68,9 |
va_start(ap); |
#endif |
ret = vfprintf(stdout, fmt, ap); |
#else |
ret = cprintf(fmt, ap); // Remap to the cprintf if the Shark FS is not present |
#endif |
va_end(ap); |
return (ret); |
} |