The log message is wrong when no port started.

Signed-off-by: Michael Qiu <michael.qiu at intel.com>
---
 app/test-pmd/testpmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index 773b8af..ebf9448 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd/testpmd.c
@@ -1423,7 +1423,7 @@ start_port(portid_t pid)
        if (need_check_link_status && !no_link_check)
                check_all_ports_link_status(nb_ports, RTE_PORT_ALL);
        else
-               printf("Please stop the ports first\n");
+               printf("Please start at least one port first\n");

        printf("Done\n");
        return 0;
-- 
1.9.3

Reply via email to