diff mbox series

[next] tools: gpio-hammer: fix spelling mistake: "occurences" -> "occurrences"

Message ID 20200316092340.114125-1-colin.king@canonical.com
State New
Headers show
Series [next] tools: gpio-hammer: fix spelling mistake: "occurences" -> "occurrences" | expand

Commit Message

Colin Ian King March 16, 2020, 9:23 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake in an error message. Fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 tools/gpio/gpio-hammer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bartosz Golaszewski March 16, 2020, 9:28 a.m. UTC | #1
pon., 16 mar 2020 o 10:23 Colin King <colin.king@canonical.com> napisaƂ(a):
>
> From: Colin Ian King <colin.king@canonical.com>
>
> There is a spelling mistake in an error message. Fix it.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  tools/gpio/gpio-hammer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/gpio/gpio-hammer.c b/tools/gpio/gpio-hammer.c
> index 083399d276e4..28d2329e83d2 100644
> --- a/tools/gpio/gpio-hammer.c
> +++ b/tools/gpio/gpio-hammer.c
> @@ -153,7 +153,7 @@ int main(int argc, char **argv)
>
>         if (i >= GPIOHANDLES_MAX) {
>                 fprintf(stderr,
> -                       "Only %d occurences of '-o' are allowed, %d were found\n",
> +                       "Only %d occurrences of '-o' are allowed, %d were found\n",
>                         GPIOHANDLES_MAX, i + 1);
>                 return -1;
>         }
> --
> 2.25.1
>

Patch applied, thanks!

Bartosz
diff mbox series

Patch

diff --git a/tools/gpio/gpio-hammer.c b/tools/gpio/gpio-hammer.c
index 083399d276e4..28d2329e83d2 100644
--- a/tools/gpio/gpio-hammer.c
+++ b/tools/gpio/gpio-hammer.c
@@ -153,7 +153,7 @@  int main(int argc, char **argv)
 
 	if (i >= GPIOHANDLES_MAX) {
 		fprintf(stderr,
-			"Only %d occurences of '-o' are allowed, %d were found\n",
+			"Only %d occurrences of '-o' are allowed, %d were found\n",
 			GPIOHANDLES_MAX, i + 1);
 		return -1;
 	}