From: Colin Ian King Date: Mon, 16 Mar 2020 09:23:40 +0000 (+0000) Subject: tools: gpio-hammer: fix spelling mistake: "occurences" -> "occurrences" X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~2476^2~18^2~3 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=55f17e2ae916e4443e5f0acf067a3b6e9180f1cd;p=linux.git 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 Signed-off-by: Bartosz Golaszewski --- 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; }