diff mbox

[ibacm] acme.c: Fix a couple of cosmetic issues with option file generation

Message ID 51CDA953.5070301@dev.mellanox.co.il (mailing list archive)
State Rejected
Headers show

Commit Message

Hal Rosenstock June 28, 2013, 3:18 p.m. UTC
Add route_data_file and addr_data_file option names before full pathname to file

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/src/acme.c b/src/acme.c
index 1109b50..287fd32 100644
--- a/src/acme.c
+++ b/src/acme.c
@@ -261,7 +261,7 @@  static void gen_opts_temp(FILE *f)
 	fprintf(f, "# the ACM cache.  This option is only valid if route_preload\n");
 	fprintf(f, "# indicates that routing data should be read from a file.\n");
 	fprintf(f, "# Default is ACM_CONF_DIR/ibacm_route.data\n");
-	fprintf(f, "# /etc/rdma/ibacm_route.data\n");
+	fprintf(f, "# route data_file /etc/rdma/ibacm_route.data\n");
 	fprintf(f, "\n");
 	fprintf(f, "# addr_preload:\n");
 	fprintf(f, "# Specifies if the ACM address cache should be preloaded, or built on demand.\n");
@@ -277,7 +277,7 @@  static void gen_opts_temp(FILE *f)
 	fprintf(f, "# the ACM cache.  This option is only valid if addr_preload\n");
 	fprintf(f, "# indicates that address data should be read from a file.\n");
 	fprintf(f, "# Default is ACM_CONF_DIR/ibacm_hosts.data\n");
-	fprintf(f, "# /etc/rdma/ibacm_hosts.data\n");
+	fprintf(f, "# addr_data_file /etc/rdma/ibacm_hosts.data\n");
 	fprintf(f, "\n");
 }