[PATCH] i2c-detect: fix a typo argment -> argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Aurelien Jarno <aurelien@xxxxxxxxxxx>
---
 tools/i2cdetect.c | 4 ++--
 1 file 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);
-- 
2.33.0




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux