[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1498411624.24295.36.camel@perches.com>
Date: Sun, 25 Jun 2017 10:27:04 -0700
From: Joe Perches <joe@...ches.com>
To: "Enrico Weigelt, metux IT consult" <enrico.weigelt@...3.net>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] lib: vsprintf: add printf format conversion %M for
errno strings
On Sun, 2017-06-25 at 19:12 +0200, Enrico Weigelt, metux IT consult
wrote:
> Adding a new format conversion for *printf() and friends.
Every use of %M is going to cause gcc when using __printf to emit
a warning like:
unknown conversion type character ‘M’ in format [-Wformat=]
Beyond that, why is this useful?
There can't possibly be any fast-path use.
Why not just create a function that does errno/string conversions?
Powered by blists - more mailing lists