aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/tipc/name_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/name_table.c b/net/tipc/name_table.c
index cd72e22b132b..acab41a48d67 100644
--- a/net/tipc/name_table.c
+++ b/net/tipc/name_table.c
@@ -555,7 +555,7 @@ static struct name_seq *nametbl_find_seq(u32 type)
555 struct name_seq *ns; 555 struct name_seq *ns;
556 556
557 dbg("find_seq %u,(%u,0x%x) table = %p, hash[type] = %u\n", 557 dbg("find_seq %u,(%u,0x%x) table = %p, hash[type] = %u\n",
558 type, ntohl(type), type, table.types, hash(type)); 558 type, htonl(type), type, table.types, hash(type));
559 559
560 seq_head = &table.types[hash(type)]; 560 seq_head = &table.types[hash(type)];
561 hlist_for_each_entry(ns, seq_node, seq_head, ns_list) { 561 hlist_for_each_entry(ns, seq_node, seq_head, ns_list) {