[Pkg-ofed-commits] [perftest] 12/12: Fix typo destory -> destroy

Benjamin Drung bdrung at moszumanska.debian.org
Mon Aug 22 09:17:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

bdrung pushed a commit to branch master
in repository perftest.

commit 1255205f45b1bb87dcf70ced823756dcd4820cc6
Author: Benjamin Drung <benjamin.drung at profitbricks.com>
Date:   Mon Aug 22 11:04:45 2016 +0200

    Fix typo destory -> destroy
---
 debian/patches/Fix-typo-destory.patch | 54 +++++++++++++++++++++++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 55 insertions(+)

diff --git a/debian/patches/Fix-typo-destory.patch b/debian/patches/Fix-typo-destory.patch
new file mode 100644
index 0000000..c3d1c5b
--- /dev/null
+++ b/debian/patches/Fix-typo-destory.patch
@@ -0,0 +1,54 @@
+Description: Fix typo destory -> destroy
+Author: Benjamin Drung <benjamin.drung at profitbricks.com>
+
+--- a/src/raw_ethernet_send_bw.c
++++ b/src/raw_ethernet_send_bw.c
+@@ -359,7 +359,7 @@
+ 			if (ibv_destroy_flow(flow_create_result[i])) {
+ 			#endif
+ 				perror("error");
+-				fprintf(stderr, "Couldn't Destory flow\n");
++				fprintf(stderr, "Couldn't destroy flow\n");
+ 				return FAILURE;
+ 			}
+ 
+--- a/src/raw_ethernet_send_lat.c
++++ b/src/raw_ethernet_send_lat.c
+@@ -261,12 +261,12 @@
+ 	user_param.test_type == ITERATIONS ? print_report_lat(&user_param) :
+ 		print_report_lat_duration(&user_param);
+ 
+-	/* destory promisc flow */
++	/* destroy promisc flow */
+ 	#ifdef HAVE_RAW_ETH_EXP
+ 	if (user_param.use_promiscuous) {
+ 		if (ibv_exp_destroy_flow(flow_promisc)) {
+ 			perror("error");
+-			fprintf(stderr, "Couldn't Destory promisc flow\n");
++			fprintf(stderr, "Couldn't destroy promisc flow\n");
+ 			return FAILURE;
+ 		}
+ 	}
+@@ -280,7 +280,7 @@
+ 		if (ibv_destroy_flow(flow_create_result[i])) {
+ 		#endif
+ 			perror("error");
+-			fprintf(stderr, "Couldn't Destory flow\n");
++			fprintf(stderr, "Couldn't destroy flow\n");
+ 			return FAILURE;
+ 		}
+ 
+--- a/src/send_bw.c
++++ b/src/send_bw.c
+@@ -549,9 +549,9 @@
+ 		fprintf(stderr," Trying to close this side resources\n");
+ 	}
+ 
+-	/* Destory all test resources, including Mcast if exists */
++	/* Destroy all test resources, including Mcast if exists */
+ 	if (send_destroy_ctx(&ctx,&user_param,&mcg_params)) {
+-		fprintf(stderr,"Couldn't Destory all SEND resources\n");
++		fprintf(stderr,"Couldn't destroy all SEND resources\n");
+ 		return FAILURE;
+ 	}
+ 	if (user_param.work_rdma_cm == ON) {
diff --git a/debian/patches/series b/debian/patches/series
index 3010a5b..a86d3e9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Fix-spelling-errors-in-binaries.patch
 Fix-typos-in-s390x-support.patch
+Fix-typo-destory.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/perftest.git



More information about the Pkg-ofed-commits mailing list