summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-03-16 10:23:40 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-03-25 09:50:46 +0100
commit55f17e2ae916e4443e5f0acf067a3b6e9180f1cd (patch)
tree81d31d6e8a950210e0272dd74054501033967475
parentgpio: mt7621: add BGPIOF_NO_SET_ON_INPUT flag (diff)
downloadlinux-55f17e2ae916e4443e5f0acf067a3b6e9180f1cd.tar.xz
linux-55f17e2ae916e4443e5f0acf067a3b6e9180f1cd.zip
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>
-rw-r--r--tools/gpio/gpio-hammer.c2
1 files changed, 1 insertions, 1 deletions
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;
}