From a0d0dee4af6ac108d0d1e0c3afcbd529fbcfac44 Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Mon, 1 Nov 2021 15:40:08 +0100 Subject: [PATCH] Fix typo in dns_name_copy-with-result.spatch A typo introduced in f3f1cab05e05c9bdd5da91f3ab159ec6658ec7f4 prevents execution of the dns_name_copy-with-result.spatch. The replacement should end with semicolon not a colon: plus: parse error: File "cocci/dns_name_copy-with-result.spatch", line 28, column 23, charpos = 421 around = ':', whole content = + dns_name_copy(E1, E2): --- cocci/dns_name_copy-with-result.spatch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocci/dns_name_copy-with-result.spatch b/cocci/dns_name_copy-with-result.spatch index 129d421d67..f3313b7672 100644 --- a/cocci/dns_name_copy-with-result.spatch +++ b/cocci/dns_name_copy-with-result.spatch @@ -25,6 +25,6 @@ statement S1, S2; - V = dns_name_copy(E1, E2, NULL); - S1 - if (V == ISC_R_SUCCESS) S2 -+ dns_name_copy(E1, E2): ++ dns_name_copy(E1, E2); + S1 + S2