mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Kevin P. Fleming" <kevin@labsysgrp.com>
To: <dank@kegel.com>, <linux-kernel@vger.kernel.org>
Cc: <trond.myklebust@fys.uio.no>
Subject: Re: [PATCH] patch for 2.4.19-pre8 nfsroot.c to compile
Date: Thu, 23 May 2002 16:05:06 -0700	[thread overview]
Message-ID: <006101c202ae$47b1e0c0$6aaca8c0@kpfhome> (raw)
In-Reply-To: <3CED6E0F.215BF408@kegel.com>

Doh! Here's a corrected patch (other places in the kernel use %u instead of
%d, so that's what I used):

--- linux/fs/nfs/nfsroot.c Thu May 23 12:04:17 2002
+++ linux-nfsroot/fs/nfs/nfsroot.c Thu May 23 16:02:29 2002
@@ -343,8 +343,8 @@
 {
  struct sockaddr_in sin;

- printk(KERN_NOTICE "Looking up port of RPC %d/%d on %s\n",
-  program, version, in_ntoa(servaddr));
+ printk(KERN_NOTICE "Looking up port of RPC %d/%d on %u.%u.%u.%u\n",
+  program, version, NIPQUAD(servaddr));
  set_sockaddr(&sin, servaddr, 0);
  return rpc_getport_external(&sin, program, version, proto);
 }

----- Original Message -----
From: "Dan Kegel" <dank@kegel.com>
To: "Kevin P. Fleming" <kevin@labsysgrp.com>; <linux-kernel@vger.kernel.org>
Sent: Thursday, May 23, 2002 03:32 PM
Subject: re: [PATCH] patch for 2.4.19-pre8 nfsroot.c to compile


<snip>

> Er, shouldn't you change the %s to a %d.%d.%d.%d?
> - Dan
>
>


  reply	other threads:[~2002-05-23 23:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-23 22:32 Dan Kegel
2002-05-23 23:05 ` Kevin P. Fleming [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-23 19:34 Kevin P. Fleming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='006101c202ae$47b1e0c0$6aaca8c0@kpfhome' \
    --to=kevin@labsysgrp.com \
    --cc=dank@kegel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trond.myklebust@fys.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®