Skip to contentSkip to conversation

tools: bootconfig: fix spelling mistake "faile" -> "failed"

PATCH In review Colin King 3 participants 4 messages Jan 16, 2020 – Jan 21, 2020

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 tools: bootconfig: fix spelling mistake "faile" -> "failed"

From: Colin Ian King <[email protected]>

There are two spelling mistakes in printf statements, fix these.

---
 tools/bootconfig/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/bootconfig/main.c +2 -2
index b8f174fd2a0a..91c9a5c0c499 100644
@@ -140,7 +140,7 @@ int load_xbc_from_initrd(int fd, char **buf)
 		return 0;
 
 	if (lseek(fd, -8, SEEK_END) < 0) {
-		printf("Faile to lseek: %d\n", -errno);
+		printf("Failed to lseek: %d\n", -errno);
 		return -errno;
 	}
 
@@ -155,7 +155,7 @@ int load_xbc_from_initrd(int fd, char **buf)
 		return 0;
 
 	if (lseek(fd, stat.st_size - 8 - size, SEEK_SET) < 0) {
-		printf("Faile to lseek: %d\n", -errno);
+		printf("Failed to lseek: %d\n", -errno);
 		return -errno;
 	}
 
Signature · 1 line
2.24.0
maintainer Acked-by on v1 1/1
#1 lore raw

Hi Colin,

Quoted 3 lines · On Thu, 16 Jan 2020 09:22:06 +0000 Colin King <[email protected]> wrote:

From: Colin Ian King <[email protected]>

There are two spelling mistakes in printf statements, fix these.

Good catch!

Thanks!

Quoted 31 lines
---
 tools/bootconfig/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/bootconfig/main.c +2 -2
index b8f174fd2a0a..91c9a5c0c499 100644
@@ -140,7 +140,7 @@ int load_xbc_from_initrd(int fd, char **buf)
 		return 0;
 
 	if (lseek(fd, -8, SEEK_END) < 0) {
-		printf("Faile to lseek: %d\n", -errno);
+		printf("Failed to lseek: %d\n", -errno);
 		return -errno;
 	}
 
@@ -155,7 +155,7 @@ int load_xbc_from_initrd(int fd, char **buf)
 		return 0;
 
 	if (lseek(fd, stat.st_size - 8 - size, SEEK_SET) < 0) {
-		printf("Faile to lseek: %d\n", -errno);
+		printf("Failed to lseek: %d\n", -errno);
 		return -errno;
 	}
 
Signature · 1 line
2.24.0
Signature · 1 line
Masami Hiramatsu <[email protected]>
maintainer
#2 lore raw

Hi Steve,

Could you pick this fix too?

Thank you,

Quoted 50 lines · On Thu, 16 Jan 2020 19:02:39 +0900 Masami Hiramatsu <[email protected]> wrote:

Hi Colin,

Quoted 3 lines · On Thu, 16 Jan 2020 09:22:06 +0000 Colin King <[email protected]> wrote:

From: Colin Ian King <[email protected]>

There are two spelling mistakes in printf statements, fix these.

Good catch!

Thanks!

Quoted 31 lines
---
 tools/bootconfig/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/bootconfig/main.c +2 -2
index b8f174fd2a0a..91c9a5c0c499 100644
@@ -140,7 +140,7 @@ int load_xbc_from_initrd(int fd, char **buf)
 		return 0;
 
 	if (lseek(fd, -8, SEEK_END) < 0) {
-		printf("Faile to lseek: %d\n", -errno);
+		printf("Failed to lseek: %d\n", -errno);
 		return -errno;
 	}
 
@@ -155,7 +155,7 @@ int load_xbc_from_initrd(int fd, char **buf)
 		return 0;
 
 	if (lseek(fd, stat.st_size - 8 - size, SEEK_SET) < 0) {
-		printf("Faile to lseek: %d\n", -errno);
+		printf("Failed to lseek: %d\n", -errno);
 		return -errno;
 	}
 
Signature · 1 line
2.24.0
Signature · 1 line
Masami Hiramatsu <[email protected]>
Signature · 1 line
Masami Hiramatsu <[email protected]>