[Open-FCoE] [PATCH] fcoeadm: Revise the unclear message "not enough local ports"

Steve Ma steve.ma at intel.com
Sat Jan 10 01:25:10 UTC 2009


The message "not enough local ports" is replaced by
"No FCoE interfaces created."

Signed-off-by: Steve Ma <steve.ma at intel.com>
---

 usr/tools/fcoeadm/fcoeadm_display.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/usr/tools/fcoeadm/fcoeadm_display.c b/usr/tools/fcoeadm/fcoeadm_display.c
index e9601e8..cbbe680 100644
--- a/usr/tools/fcoeadm/fcoeadm_display.c
+++ b/usr/tools/fcoeadm/fcoeadm_display.c
@@ -1017,7 +1017,7 @@ display_port_stats(struct opt_info *opt_info)
 
 	hba_cnt = HBA_GetNumberOfAdapters();
 	if (!hba_cnt) {
-		fprintf(stderr, "Not enough local ports\n");
+		fprintf(stderr, "No FCoE interfaces created.\n");
 		return;
 	}
 
@@ -1171,7 +1171,7 @@ display_adapter_info(struct opt_info *opt_info)
 
 	hba_cnt = HBA_GetNumberOfAdapters();
 	if (!hba_cnt) {
-		fprintf(stderr, "Not enough local ports\n");
+		fprintf(stderr, "No FCoE interfaces created.\n");
 		return;
 	}
 
@@ -1254,7 +1254,7 @@ display_target_info(struct opt_info *opt_info)
 
 	hba_cnt = HBA_GetNumberOfAdapters();
 	if (!hba_cnt) {
-		fprintf(stderr, "Not enough local ports\n");
+		fprintf(stderr, "No FCoE interfaces created.\n");
 		return;
 	}
 




More information about the devel mailing list