Re: [PATCH v7 07/10] vsprintf: Consolidate handling of unknown pointer specifiers

From: Sergey Senozhatsky
Date: Thu Apr 18 2019 - 09:52:39 EST


On (04/17/19 13:53), Petr Mladek wrote:
> A reasonable compromise seems to be writing the unknown format specifier
> into the original string with a question mark, for example (%pC?).
> It should be self-explaining enough. Note that it is in brackets
> to follow the (null) style.

Ah, I misunderstood the meaning of the question mark. The question
mark here is not a question, but a `wildcard' symbol which is replacing
a missing or unrecognized symbol.

-ss