Commit e0f36310 authored by Fabian Frederick's avatar Fabian Frederick Committed by David S. Miller
Browse files

ipx: remove unnecessary casting on ntohl

use %08X instead of %08lX and remove casting.

Suggested-by: default avatarJoe Perches <>
Signed-off-by: default avatarFabian Frederick <>
Signed-off-by: default avatarDavid S. Miller <>
parent 5e96d788
......@@ -89,8 +89,8 @@ static int ipx_seq_route_show(struct seq_file *seq, void *v)
seq_printf(seq, "%08lX ", (unsigned long int)ntohl(rt->ir_net));
if (rt->ir_routed)
seq_printf(seq, "%08lX %02X%02X%02X%02X%02X%02X\n",
(long unsigned int)ntohl(rt->ir_intrfc->if_netnum),
seq_printf(seq, "%08X %02X%02X%02X%02X%02X%02X\n",
rt->ir_router_node[0], rt->ir_router_node[1],
rt->ir_router_node[2], rt->ir_router_node[3],
rt->ir_router_node[4], rt->ir_router_node[5]);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment