tools: bootconfig: Fix spelling mistake "faile" -> "failed"
authorColin Ian King <colin.king@canonical.com>
Thu, 16 Jan 2020 09:22:06 +0000 (09:22 +0000)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 21 Jan 2020 23:27:08 +0000 (18:27 -0500)
There are two spelling mistakes in printf statements, fix these.

Link: http://lkml.kernel.org/r/20200116092206.52192-1-colin.king@canonical.com
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/bootconfig/main.c

index b8f174fd2a0ae3fa76ad017593b0716f53117c25..91c9a5c0c4992152e9612c0c40d93d3c65fcc24b 100644 (file)
@@ -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;
        }