[commits] [batman-adv] master: batman-adv: Remove unnecessary length qualifier in %14pM (ea9e7718)

postmaster at open-mesh.org postmaster at open-mesh.org
Wed Jun 14 21:35:23 CEST 2017


Repository : ssh://git@open-mesh.org/batman-adv

On branch  : master

>---------------------------------------------------------------

commit ea9e7718812648894c2aeca3cd4733d4f29f21e9
Author: Joe Perches <joe at perches.com>
Date:   Wed Jun 14 02:33:52 2017 -0700

    batman-adv: Remove unnecessary length qualifier in %14pM
    
    It's misleading and unnecessary.
    
    Signed-off-by: Joe Perches <joe at perches.com>
    Signed-off-by: Sven Eckelmann <sven at narfation.org>


>---------------------------------------------------------------

ea9e7718812648894c2aeca3cd4733d4f29f21e9
 net/batman-adv/distributed-arp-table.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/batman-adv/distributed-arp-table.c b/net/batman-adv/distributed-arp-table.c
index 6930d6b5..b6cfa78e 100644
--- a/net/batman-adv/distributed-arp-table.c
+++ b/net/batman-adv/distributed-arp-table.c
@@ -834,7 +834,7 @@ int batadv_dat_cache_seq_print_text(struct seq_file *seq, void *offset)
 			last_seen_msecs = last_seen_msecs % 60000;
 			last_seen_secs = last_seen_msecs / 1000;
 
-			seq_printf(seq, " * %15pI4 %14pM %4i %6i:%02i\n",
+			seq_printf(seq, " * %15pI4 %pM %4i %6i:%02i\n",
 				   &dat_entry->ip, dat_entry->mac_addr,
 				   batadv_print_vid(dat_entry->vid),
 				   last_seen_mins, last_seen_secs);



More information about the commits mailing list