Skip to contentSkip to conversation

acm.c: Fix addr_data_file handling

PATCH New Hal Rosenstock 1 participant 1 message Jun 28, 2013 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acm.c: Fix addr_data_file handling

---

src/acm.c +1 -1
index f55ebc0..ae326e5 100644
@@ -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);

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html