summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2021-12-20 21:27:18 +0100
committerWolfram Sang <wsa@kernel.org>2022-01-03 10:49:50 +0100
commitc94a3a21bc569f7021685bc8c4a21c0b01334ec2 (patch)
tree7b66bad7fe661b02badd7c1ca5626ac94200a3c7
parenta4609318b6fa594f970673d77397f1ca74b4120a (diff)
downloadi2c-tools-git-c94a3a21bc569f7021685bc8c4a21c0b01334ec2.tar.gz
i2cdetect: fix a typo argment -> argument
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Wolfram Sang <wsa@kernel.org>
-rw-r--r--tools/i2cdetect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/i2cdetect.c b/tools/i2cdetect.c
index 0b9af48..1f34b56 100644
--- a/tools/i2cdetect.c
+++ b/tools/i2cdetect.c
@@ -278,7 +278,7 @@ int main(int argc, char *argv[])
tmp = strtol(argv[flags+2], &end, 0);
if (*end) {
- fprintf(stderr, "Error: FIRST argment not a "
+ fprintf(stderr, "Error: FIRST argument not a "
"number!\n");
help();
exit(1);
@@ -293,7 +293,7 @@ int main(int argc, char *argv[])
tmp = strtol(argv[flags+3], &end, 0);
if (*end) {
- fprintf(stderr, "Error: LAST argment not a "
+ fprintf(stderr, "Error: LAST argument not a "
"number!\n");
help();
exit(1);