aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-01-16 09:22:06 +0000
committerSteven Rostedt (VMware) <[email protected]>2020-01-21 18:27:08 -0500
commitbcc717ed95dea6c6b87013e97f39ee393aed0487 (patch)
tree16298ed313c6eb99cb42a88e3363b3c1e93e9828
parentb8381ce7aa8ef1ab5a79bf710508e504c494acf7 (diff)
tools: bootconfig: Fix spelling mistake "faile" -> "failed"
There are two spelling mistakes in printf statements, fix these. Link: http://lkml.kernel.org/r/[email protected] Acked-by: Masami Hiramatsu <[email protected]> Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
-rw-r--r--tools/bootconfig/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bootconfig/main.c b/tools/bootconfig/main.c
index b8f174fd2a0a..91c9a5c0c499 100644
--- a/tools/bootconfig/main.c
+++ b/tools/bootconfig/main.c
@@ -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;
}