public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: jamagallon@able.es
Cc: linux-kernel@vger.kernel.org, trond.myklebust@fys.uio.no
Subject: Re: undefined reference to `in_ntoa'
Date: Fri, 03 May 2002 18:48:41 -0700 (PDT)	[thread overview]
Message-ID: <20020503.184841.64937487.davem@redhat.com> (raw)
In-Reply-To: <20020504015655.GA8544@werewolf.able.es>

   From: "J.A. Magallon" <jamagallon@able.es>
   Date: Sat, 4 May 2002 03:56:55 +0200

   
   It is only used in fs/nfs/nfsroot.c, and never defined (grep -r just shows that).

I've sent Marcelo the following fix for this already.
Sorry about that.

--- fs/nfs/nfsroot.c.~2~	Fri May  3 13:56:10 2002
+++ fs/nfs/nfsroot.c	Fri May  3 13:56:30 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);
 }

      reply	other threads:[~2002-05-04  2:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-04  1:56 undefined reference to `in_ntoa' J.A. Magallon
2002-05-04  1:48 ` David S. Miller [this message]

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=20020503.184841.64937487.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=jamagallon@able.es \
    --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