Commit 55f17e2a authored by Colin Ian King's avatar Colin Ian King Committed by Bartosz Golaszewski
Browse files

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



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

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent 427cabed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}