Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 1995 13:47:09 -0500
From:      "Garrett A. Wollman" <wollman@lcs.mit.edu>
To:        Mattias.Gronlund@sa.erisoft.se (Mattias Gronlund)
Cc:        freebsd-current@FreeBSD.ORG
Subject:   NFS ROOT 0.0.0.0:/...
Message-ID:  <9512281847.AA24583@halloran-eldar.lcs.mit.edu>
In-Reply-To: <9512272219.AA04716@sws021.sa.erisoft.se>
References:  <9512272219.AA04716@sws021.sa.erisoft.se>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 27 Dec 1995 23:19:53 +0100 (MET), Mattias.Gronlund@sa.erisoft.se (Mattias Gronlund) said:

>         sprintf(buf,"%ld.%ld.%ld.%ld:%s",
>                 (l >> 24) & 0xff, (l >> 16) & 0xff,
>                 (l >>  8) & 0xff, (l >>  0) & 0xff,nd->root_hostnam);

Should use inet_ntoa(), that's what it's there for.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9512281847.AA24583>