AK: Allow printing a literal '%' character with the printf family.

This commit is contained in:
Andreas Kling 2019-03-22 01:50:32 +01:00
parent 7c0a185970
commit 23fe630057
Notes: sideshowbarker 2024-07-19 14:58:31 +09:00

View file

@ -267,6 +267,11 @@ one_more:
++ret;
break;
case '%':
putch(bufptr, '%');
++ret;
break;
case 'p':
putch(bufptr, '0');
putch(bufptr, 'x');