Skip to content
Snippets Groups Projects
Commit fcb3864e authored by Herbert Xu's avatar Herbert Xu
Browse files

Revert "[BUILTIN] Remove unnecessary restoration of format string in printf"


This reverts commit 7bb41325.

The commit breaks printf with more than argument.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent c166b718
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -209,6 +209,7 @@ pc:
if (print_escape_str(start, param, array,
getstr()))
goto out;
*fmt = 'b';
break;
case 'c': {
int p = getchr();
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment