File: Fix-spelling.patch

package info (click to toggle)
capstone 5.0.7-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 58,212 kB
  • sloc: ansic: 96,103; cpp: 67,489; cs: 29,510; python: 25,829; pascal: 24,412; java: 15,582; ml: 14,473; makefile: 1,274; sh: 479; ruby: 386
file content (21 lines) | stat: -rw-r--r-- 650 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Hilko Bengen <bengen@debian.org>
Date: Wed, 12 Feb 2025 09:12:34 +0100
Subject: Fix spelling

---
 arch/SH/SHInstPrinter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/SH/SHInstPrinter.c b/arch/SH/SHInstPrinter.c
index b975919..7650026 100644
--- a/arch/SH/SHInstPrinter.c
+++ b/arch/SH/SHInstPrinter.c
@@ -51,7 +51,7 @@ void SH_get_insn_id(cs_struct* h, cs_insn* insn, unsigned int id)
 
 #ifndef CAPSTONE_DIET
 static const char* const s_insn_names[] = {
-	"unknwon",
+	"unknown",
 	"add", "add", "addc", "addv", "and",
 	"band", "bandnot", "bclr",
 	"bf", "bf/s", "bld", "bldnot", "bor", "bornot", "bra", "braf",