From 240c96c06f74859288bef7deb4a6ee7cb16e78dc Mon Sep 17 00:00:00 2001
From: Danny Auble <da@schedmd.com>
Date: Mon, 25 Nov 2013 09:41:52 -0800
Subject: [PATCH] Slightly better debug

---
 src/common/node_conf.c   | 3 ++-
 src/common/read_config.c | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/common/node_conf.c b/src/common/node_conf.c
index 52929312264..c4df0f8402c 100644
--- a/src/common/node_conf.c
+++ b/src/common/node_conf.c
@@ -237,7 +237,8 @@ static int _build_single_nodeline_info(slurm_conf_node_t *node_ptr,
 #endif	/* HAVE_FRONT_END */
 	if ((port_count != alias_count) && (port_count > 1)) {
 		error("Port count must equal that of NodeName "
-		      "records or there must be no more than one");
+		      "records or there must be no more than one (%u != %u)",
+		      port_count, alias_count);
 		goto cleanup;
 	}
 
diff --git a/src/common/read_config.c b/src/common/read_config.c
index d3f59fce882..0e1e4da1ffe 100644
--- a/src/common/read_config.c
+++ b/src/common/read_config.c
@@ -1502,7 +1502,8 @@ static int _register_conf_node_aliases(slurm_conf_node_t *node_ptr)
 #endif	/* HAVE_FRONT_END */
 	if ((port_count != alias_count) && (port_count > 1)) {
 		error("Port count must equal that of NodeName "
-		      "records or there must be no more than one");
+		      "records or there must be no more than one (%u != %u)",
+		      port_count, alias_count);
 		goto cleanup;
 	}
 
-- 
GitLab