diff mbox

[ibacm] acm.c: Fix addr_data_file handling

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

Commit Message

Hal Rosenstock June 28, 2013, 3:18 p.m. UTC
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/acm.c b/src/acm.c
index f55ebc0..ae326e5 100644
--- a/src/acm.c
+++ b/src/acm.c
@@ -3466,7 +3466,7 @@  static void acm_set_options(void)
 		else if (!stricmp("addr_preload", opt))
 			addr_preload = acm_convert_addr_preload(value);
 		else if (!stricmp("addr_data_file", opt))
-			strcpy(addr_data_file, opt);
+			strcpy(addr_data_file, value);
 	}
 
 	fclose(f);