kernel-api.rst: fix output of the vsnprintf() documentation
authormchehab@s-opensource.com <mchehab@s-opensource.com>
Thu, 30 Mar 2017 20:11:33 +0000 (17:11 -0300)
committerJonathan Corbet <corbet@lwn.net>
Sun, 2 Apr 2017 20:29:19 +0000 (14:29 -0600)
commit6cc89134c07b223038be9de7854364bb7ba3a210
treea5e53a702c8ab1fbcafe5c2ce820ebac3db047af
parentc7e2c0643d7850ff41a0b24d8c11f2a856bb4537
kernel-api.rst: fix output of the vsnprintf() documentation

The vsnprintf() kernel-doc comment uses % character with a special
meaning other than escaping a constant. As ReST already defines
``literal`` as an escape sequence, let's make kernel-doc handle it,
and use it at lib/vsprintf.c.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
lib/vsprintf.c