examples: remove extra new line after link duplex
[dpdk.git] / examples / ipsec-secgw / ipsec-secgw.c
index 161fd21..f777ce2 100644 (file)
@@ -1799,7 +1799,7 @@ check_all_ports_link_status(uint32_t port_mask)
                                        "Port%d Link Up - speed %u Mbps -%s\n",
                                                portid, link.link_speed,
                                (link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
-                                       ("full-duplex") : ("half-duplex\n"));
+                                       ("full-duplex") : ("half-duplex"));
                                else
                                        printf("Port %d Link Down\n", portid);
                                continue;