Skip to contentSkip to conversation

i2c-detect: fix a typo argment -> argument

PATCH Applied Aurelien Jarno 2 participants 2 messages Dec 20, 2021 – Jan 3, 2022 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c-detect: fix a typo argment -> argument

---
 tools/i2cdetect.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/i2cdetect.c +2 -2
index 0b9af48..1f34b56 100644
@@ -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);
Signature · 1 line
2.33.0