Skip to contentSkip to conversation

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

PATCH New Daniel Borkmann 1 participant 1 message Jun 28, 2013 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 Documentation/printk-formats.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/printk-formats.txt +1 -1
index 3d4b76f..0ef74cc 100644
@@ -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')
Signature · 1 line
1.7.11.7