Add missing file from last checkin.
This commit is contained in:
parent
c5b9032e48
commit
ab6596266f
@ -146,7 +146,17 @@ __small_vsprintf (char *dst, const char *fmt, va_list ap)
|
||||
l_opt = true;
|
||||
continue;
|
||||
case 'c':
|
||||
*dst++ = (char) (va_arg (ap, int) & 0xff);
|
||||
{
|
||||
unsigned char c = (va_arg (ap, int) & 0xff);
|
||||
if (isprint (c) || pad != '0')
|
||||
*dst++ = c;
|
||||
else
|
||||
{
|
||||
*dst++ = '0';
|
||||
*dst++ = 'x';
|
||||
dst = __rn (dst, 16, 0, c, len, pad, LMASK);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'C':
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user