From a23f6920adad04d853ba501416b3780603951acf Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 30 Jul 2009 13:10:50 -0700 Subject: [PATCH] --- yaml --- r: 156330 b: refs/heads/master c: 2a8aaacda5097fa92a39948da1b4c6614b6e150e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/Documentation/DocBook/kernel-hacking.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index cc2acf47986c..ef0f51643233 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a541f8401d8e9113a89ee902cb8d8e412d6d3569 +refs/heads/master: 2a8aaacda5097fa92a39948da1b4c6614b6e150e diff --git a/trunk/Documentation/DocBook/kernel-hacking.tmpl b/trunk/Documentation/DocBook/kernel-hacking.tmpl index a50d6cd58573..992e67e6be7f 100644 --- a/trunk/Documentation/DocBook/kernel-hacking.tmpl +++ b/trunk/Documentation/DocBook/kernel-hacking.tmpl @@ -449,8 +449,8 @@ printk(KERN_INFO "i = %u\n", i); -__u32 ipaddress; -printk(KERN_INFO "my ip: %d.%d.%d.%d\n", NIPQUAD(ipaddress)); +__be32 ipaddress; +printk(KERN_INFO "my ip: %pI4\n", &ipaddress);