File: fix_typos

package info (click to toggle)
spectools 201601r1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 1,272 kB
  • ctags: 1,837
  • sloc: ansic: 18,708; sh: 2,476; makefile: 85
file content (119 lines) | stat: -rw-r--r-- 4,002 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
Fix spelling errors:
detatch -> detach
unitialized -> uninitialized

Index: b/ubertooth_hw_u1.c
===================================================================
--- a/ubertooth_hw_u1.c
+++ b/ubertooth_hw_u1.c
@@ -156,7 +156,7 @@
 
 #ifdef SYS_LINUX
 /* Libusb doesn't seem to always provide this, so we'll use our own, taken from the 
-* usb_detatch_kernel_driver_np...
+* usb_detach_kernel_driver_np...
 *
 * THIS IS A HORRIBLE EVIL HACK THAT SHOULDN'T BE DONE, EVER
 * 
@@ -190,7 +190,7 @@
 					 "been changed by your distribution kernel maintainers.");
 		} 
 
-		snprintf(errstr, SPECTOOL_ERROR_MAX, "Could not detatch kernel driver from "
+		snprintf(errstr, SPECTOOL_ERROR_MAX, "Could not detach kernel driver from "
 				 "interface %d: %s", interface, strerror(errno));
 		return -1;
 	}
@@ -559,7 +559,7 @@
 	}
 
 #ifdef LIBUSB_HAS_DETACH_KERNEL_DRIVER_NP
-	// fprintf(stderr, "debug - detatch kernel driver np\n");
+	// fprintf(stderr, "debug - detach kernel driver np\n");
 	if (usb_detach_kernel_driver_np(auxptr->devhdl, 0)) {
 		// fprintf(stderr, "Could not detach kernel driver %s\n", usb_strerror());
 		snprintf(phydev->errstr, SPECTOOL_ERROR_MAX,
Index: b/wispy_hw_24x.c
===================================================================
--- a/wispy_hw_24x.c
+++ b/wispy_hw_24x.c
@@ -174,7 +174,7 @@
 
 #ifdef SYS_LINUX
 /* Libusb doesn't seem to always provide this, so we'll use our own, taken from the 
-* usb_detatch_kernel_driver_np...
+* usb_detach_kernel_driver_np...
 *
 * THIS IS A HORRIBLE EVIL HACK THAT SHOULDN'T BE DONE, EVER
 * 
@@ -208,7 +208,7 @@
 					 "been changed by your distribution kernel maintainers.");
 		} 
 
-		snprintf(errstr, SPECTOOL_ERROR_MAX, "Could not detatch kernel driver from "
+		snprintf(errstr, SPECTOOL_ERROR_MAX, "Could not detach kernel driver from "
 				 "interface %d: %s", interface, strerror(errno));
 		return -1;
 	}
@@ -568,7 +568,7 @@
 	}
 
 #ifdef LIBUSB_HAS_DETACH_KERNEL_DRIVER_NP
-	// fprintf(stderr, "debug - detatch kernel driver np\n");
+	// fprintf(stderr, "debug - detach kernel driver np\n");
 	if (usb_detach_kernel_driver_np(auxptr->devhdl, 0)) {
 		// fprintf(stderr, "Could not detach kernel driver %s\n", usb_strerror());
 		snprintf(phydev->errstr, SPECTOOL_ERROR_MAX,
Index: b/wispy_hw_dbx.c
===================================================================
--- a/wispy_hw_dbx.c
+++ b/wispy_hw_dbx.c
@@ -251,7 +251,7 @@
 
 #ifdef SYS_LINUX
 /* Libusb doesn't seem to always provide this, so we'll use our own, taken from the 
-* usb_detatch_kernel_driver_np...
+* usb_detach_kernel_driver_np...
 *
 * THIS IS A HORRIBLE EVIL HACK THAT SHOULDN'T BE DONE, EVER
 * 
@@ -285,7 +285,7 @@
 					 "been changed by your distribution kernel maintainers.");
 		} 
 
-		snprintf(errstr, SPECTOOL_ERROR_MAX, "Could not detatch kernel driver from "
+		snprintf(errstr, SPECTOOL_ERROR_MAX, "Could not detach kernel driver from "
 				 "interface %d: %s", interface, strerror(errno));
 		return -1;
 	}
@@ -1188,7 +1188,7 @@
 		gettimeofday(&(auxptr->sweepbuf->tm_start), NULL);
 	} else if (auxptr->sweepbuf_initialized == 0) {
 #ifdef _DEBUG
-		fprintf(stderr, "debug - sweepbuf unitialized\n");
+		fprintf(stderr, "debug - sweepbuf uninitialized\n");
 #endif
 		return SPECTOOL_POLL_NONE;
 	}
Index: b/wispy_hw_gen1.c
===================================================================
--- a/wispy_hw_gen1.c
+++ b/wispy_hw_gen1.c
@@ -126,7 +126,7 @@
 
 #ifdef SYS_LINUX
 /* Libusb doesn't seem to always provide this, so we'll use our own, taken from the 
-* usb_detatch_kernel_driver_np...
+* usb_detach_kernel_driver_np...
 *
 * THIS IS A HORRIBLE EVIL HACK THAT SHOULDN'T BE DONE, EVER
 * 
@@ -160,7 +160,7 @@
 					 "been changed by your distribution kernel maintainers.");
 		} 
 
-		snprintf(errstr, SPECTOOL_ERROR_MAX, "Could not detatch kernel driver from "
+		snprintf(errstr, SPECTOOL_ERROR_MAX, "Could not detach kernel driver from "
 				 "interface %d: %s", interface, strerror(errno));
 		return -1;
 	}