aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2011-09-19 06:29:19 -0400
committerSven Eckelmann <sven@narfation.org>2011-11-20 07:08:31 -0500
commit87944973d97c8792e3904dab78537cbdfb715cb2 (patch)
treeaac9c73a13eb0438acdf85f1f767d144a15643ac /net/batman-adv
parentc20186b90fd73cf9bb20da55796fee00e63de9a4 (diff)
batman-adv: tt_global_del_orig() has to print the correct message
When deleting the entries, tt_global_del_orig() has to print the message passed as argument instead of a static one. Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/translation-table.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c
index c7aafc7c5ed4..1db9d96109a1 100644
--- a/net/batman-adv/translation-table.c
+++ b/net/batman-adv/translation-table.c
@@ -735,9 +735,10 @@ void tt_global_del_orig(struct bat_priv *bat_priv,
735 if (tt_global_entry->orig_node == orig_node) { 735 if (tt_global_entry->orig_node == orig_node) {
736 bat_dbg(DBG_TT, bat_priv, 736 bat_dbg(DBG_TT, bat_priv,
737 "Deleting global tt entry %pM " 737 "Deleting global tt entry %pM "
738 "(via %pM): originator time out\n", 738 "(via %pM): %s\n",
739 tt_global_entry->addr, 739 tt_global_entry->addr,
740 tt_global_entry->orig_node->orig); 740 tt_global_entry->orig_node->orig,
741 message);
741 hlist_del_rcu(node); 742 hlist_del_rcu(node);
742 tt_global_entry_free_ref(tt_global_entry); 743 tt_global_entry_free_ref(tt_global_entry);
743 } 744 }