diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-26 22:30:23 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 18:01:22 -0700 |
commit | 753ed90d92009260616f6402aafa7ee47e03b162 (patch) | |
tree | 18db9f72bb5ff58961a14c37b1c263301cb120d8 /net/sunrpc/svcauth_unix.c | |
parent | d8ed029d6000ba2e2908d9286409e4833c091b4c (diff) | |
download | op-kernel-dev-753ed90d92009260616f6402aafa7ee47e03b162.zip op-kernel-dev-753ed90d92009260616f6402aafa7ee47e03b162.tar.gz |
[SUNRPC]: more sunrpc endianness annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
-rw-r--r-- | net/sunrpc/svcauth_unix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c index f98229f..1020d54 100644 --- a/net/sunrpc/svcauth_unix.c +++ b/net/sunrpc/svcauth_unix.c @@ -249,10 +249,10 @@ static int ip_map_show(struct seq_file *m, seq_printf(m, "%s %d.%d.%d.%d %s\n", im->m_class, - htonl(addr.s_addr) >> 24 & 0xff, - htonl(addr.s_addr) >> 16 & 0xff, - htonl(addr.s_addr) >> 8 & 0xff, - htonl(addr.s_addr) >> 0 & 0xff, + ntohl(addr.s_addr) >> 24 & 0xff, + ntohl(addr.s_addr) >> 16 & 0xff, + ntohl(addr.s_addr) >> 8 & 0xff, + ntohl(addr.s_addr) >> 0 & 0xff, dom ); return 0; |