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

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This commit is contained in:
Colin Ian King 2020-03-16 09:23:40 +00:00 committed by Bartosz Golaszewski
parent 427cabede0
commit 55f17e2ae9

View File

@ -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;
}