Message ID | 20211220202718.1380408-1-aurelien@aurel32.net |
---|---|
State | New |
Headers | show |
Series | i2c-detect: fix a typo argment -> argument | expand |
On Mon, Dec 20, 2021 at 09:27:18PM +0100, Aurelien Jarno wrote:
> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Applied, thanks!
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);
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> --- tools/i2cdetect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)