diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-01-26 23:04:31 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-01-26 23:04:31 +0100 |
commit | e1677a34840ea225d54d216757172907ebb78c0b (patch) | |
tree | d86fbfbb352dafcfd4c8d931495a15f682e9fef2 /os/src/sprintf.c | |
parent | 2737d81d205a1cf086197fc2f75445e491d18c1f (diff) |
Adding debugging system for the os layer.
Diffstat (limited to 'os/src/sprintf.c')
-rw-r--r-- | os/src/sprintf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/src/sprintf.c b/os/src/sprintf.c index 30d27b3..3dc1b2c 100644 --- a/os/src/sprintf.c +++ b/os/src/sprintf.c @@ -1,10 +1,12 @@ #include <reent.h> #include <stdio.h> #include <stdarg.h> +#include <osdebug.h> int sprintf(char * str, const char * fmt, ...) { int r; va_list ap; + DBGOUT("sprintf(%p, %s, ...)\r\n", str, fmt); va_start(ap, fmt); r = _vsprintf_r(_impure_ptr, str, fmt, ap); va_end(ap); |