[libmnl,2/3] examples: fix print line format
diff mbox series

Message ID 20180521171228.dluwkko5v6cnkts7@nevthink
State Accepted
Delegated to: Pablo Neira
Headers show
Series
  • examples: rtnl neigh dump cleanups
Related show

Commit Message

Laura Garcia May 21, 2018, 5:12 p.m. UTC
Use 80 characters per line limit.

Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
---
 examples/rtnl/rtnl-neigh-dump.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/examples/rtnl/rtnl-neigh-dump.c b/examples/rtnl/rtnl-neigh-dump.c
index 52fa1c7..54d87e5 100644
--- a/examples/rtnl/rtnl-neigh-dump.c
+++ b/examples/rtnl/rtnl-neigh-dump.c
@@ -62,7 +62,9 @@  static int data_cb(const struct nlmsghdr *nlh, void *data)
 		unsigned char lladdr[6] = {0};
 
 		if (memcpy(&lladdr, addr, 6))
-			printf("%02x:%02x:%02x:%02x:%02x:%02x ", lladdr[0], lladdr[1], lladdr[2], lladdr[3], lladdr[4], lladdr[5]);
+			printf("%02x:%02x:%02x:%02x:%02x:%02x ",
+			       lladdr[0], lladdr[1], lladdr[2],
+			       lladdr[3], lladdr[4], lladdr[5]);
 	}
 
 	printf("state=");