diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tiny-printf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tiny-printf.c b/lib/tiny-printf.c index ebef92fc9f..632b424914 100644 --- a/lib/tiny-printf.c +++ b/lib/tiny-printf.c @@ -289,8 +289,15 @@ static int _vprintf(struct printf_info *info, const char *fmt, va_list va) break; case 'p': pointer(info, fmt, va_arg(va, void *)); + /* + * Skip this because it pulls in _ctype which is + * 256 bytes, and we don't generally implement + * pointer anyway + */ +#ifdef DEBUG while (isalnum(fmt[0])) fmt++; +#endif break; case '%': out(info, '%'); |