From 04618ec20d02d15f7f79e818ed13fae4f68cbe8a Mon Sep 17 00:00:00 2001 From: Daniele Forsi Date: Tue, 23 Nov 2021 23:54:13 +0100 Subject: [PATCH] Fix errors in strings Found with codespell: codespell -w src/cm108.c src/direwolf.c --- src/cm108.c | 2 +- src/direwolf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cm108.c b/src/cm108.c index cd5253f..8c8fc5e 100644 --- a/src/cm108.c +++ b/src/cm108.c @@ -304,7 +304,7 @@ static void usage(void) dw_printf ("which ones can be used for GPIO PTT.\n"); #endif dw_printf ("\n"); - dw_printf ("Specify the HID device path to test the PTT fuction.\n"); + dw_printf ("Specify the HID device path to test the PTT function.\n"); dw_printf ("Its state should change once per second.\n"); #if __WIN32__ dw_printf ("You might need to quote the path depending on the command processor.\n"); diff --git a/src/direwolf.c b/src/direwolf.c index 76247f5..37fba3a 100644 --- a/src/direwolf.c +++ b/src/direwolf.c @@ -382,7 +382,7 @@ int main (int argc, char *argv[]) if (getuid() == 0 || geteuid() == 0) { text_color_set(DW_COLOR_ERROR); dw_printf ("Dire Wolf requires only privileges available to ordinary users.\n"); - dw_printf ("Running this as root is an unnecssary security risk.\n"); + dw_printf ("Running this as root is an unnecessary security risk.\n"); } #endif