]> Git Repo - linux.git/commitdiff
doc: printk-formats: fix format specifier to %p[Ii]4[hnbl]
authorDaniel Borkmann <[email protected]>
Fri, 28 Jun 2013 13:49:39 +0000 (15:49 +0200)
committerJiri Kosina <[email protected]>
Mon, 8 Jul 2013 09:21:55 +0000 (11:21 +0200)
This might have been an oversight, as '4' is needed as %pI4/%pi4
are format specifiers and [hnbl] are extensions of it.

Signed-off-by: Daniel Borkmann <[email protected]>
CC: Joe Perches <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Documentation/printk-formats.txt

index 3af5ae6c9c113bed8c628e1ebb031eba1fdc615b..1525e91f94d8d7c2d34d0fb1acd939f787a20489 100644 (file)
@@ -97,7 +97,7 @@ IPv4 addresses:
 
        %pI4    1.2.3.4
        %pi4    001.002.003.004
-       %p[Ii][hnbl]
+       %p[Ii]4[hnbl]
 
        For printing IPv4 dot-separated decimal addresses. The 'I4' and 'i4'
        specifiers result in a printed address with ('i4') or without ('I4')
This page took 0.045343 seconds and 4 git commands to generate.