mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +00:00
AK: Allow printing a literal '%' character with the printf family.
This commit is contained in:
parent
7c0a185970
commit
23fe630057
1 changed files with 5 additions and 0 deletions
|
@ -267,6 +267,11 @@ one_more:
|
||||||
++ret;
|
++ret;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case '%':
|
||||||
|
putch(bufptr, '%');
|
||||||
|
++ret;
|
||||||
|
break;
|
||||||
|
|
||||||
case 'p':
|
case 'p':
|
||||||
putch(bufptr, '0');
|
putch(bufptr, '0');
|
||||||
putch(bufptr, 'x');
|
putch(bufptr, 'x');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue