Skip to content
Snippets Groups Projects
Commit 6fca3cd0 authored by Karol Herbst's avatar Karol Herbst :crab: Committed by Eric Engestrom
Browse files

util/u_printf: do not double print format string with unused arugments


the CL CTS added a new test being printf("\n", "foo"), but we ended up
printing the new line twice. If we can't find a specifier anymore, ignore
the argument as after the loop processing all arguments we'll print the
remaining format string anyway.

Cc: mesa-stable
Reviewed-by: Jesse Natalie's avatarJesse Natalie <jenatali@microsoft.com>
Part-of: <mesa/mesa!30574>
(cherry picked from commit 40802698)
parent 4af40c1d
No related branches found
No related tags found
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