提交 8ecada16 编写于 作者: D Daniel Borkmann 提交者: Jiri Kosina

doc: printk-formats: fix format specifier to %p[Ii]4[hnbl]

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: NDaniel Borkmann <dborkman@redhat.com>
CC: Joe Perches <joe@perches.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 83a35e36
...@@ -97,7 +97,7 @@ IPv4 addresses: ...@@ -97,7 +97,7 @@ IPv4 addresses:
%pI4 1.2.3.4 %pI4 1.2.3.4
%pi4 001.002.003.004 %pi4 001.002.003.004
%p[Ii][hnbl] %p[Ii]4[hnbl]
For printing IPv4 dot-separated decimal addresses. The 'I4' and 'i4' For printing IPv4 dot-separated decimal addresses. The 'I4' and 'i4'
specifiers result in a printed address with ('i4') or without ('I4') specifiers result in a printed address with ('i4') or without ('I4')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册