Skip to content

Commit 04618ec

Browse files
committed
Fix errors in strings
Found with codespell: codespell -w src/cm108.c src/direwolf.c
1 parent bb8cd9b commit 04618ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cm108.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ static void usage(void)
304304
dw_printf ("which ones can be used for GPIO PTT.\n");
305305
#endif
306306
dw_printf ("\n");
307-
dw_printf ("Specify the HID device path to test the PTT fuction.\n");
307+
dw_printf ("Specify the HID device path to test the PTT function.\n");
308308
dw_printf ("Its state should change once per second.\n");
309309
#if __WIN32__
310310
dw_printf ("You might need to quote the path depending on the command processor.\n");

src/direwolf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ int main (int argc, char *argv[])
382382
if (getuid() == 0 || geteuid() == 0) {
383383
text_color_set(DW_COLOR_ERROR);
384384
dw_printf ("Dire Wolf requires only privileges available to ordinary users.\n");
385-
dw_printf ("Running this as root is an unnecssary security risk.\n");
385+
dw_printf ("Running this as root is an unnecessary security risk.\n");
386386
}
387387
#endif
388388

0 commit comments

Comments
 (0)