Skip to content

Commit bcc717e

Browse files
Colin Ian Kingrostedt
authored andcommitted
tools: bootconfig: Fix spelling mistake "faile" -> "failed"
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>
1 parent b8381ce commit bcc717e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tools/bootconfig/main.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ int load_xbc_from_initrd(int fd, char **buf)
140140
return 0;
141141

142142
if (lseek(fd, -8, SEEK_END) < 0) {
143-
printf("Faile to lseek: %d\n", -errno);
143+
printf("Failed to lseek: %d\n", -errno);
144144
return -errno;
145145
}
146146

@@ -155,7 +155,7 @@ int load_xbc_from_initrd(int fd, char **buf)
155155
return 0;
156156

157157
if (lseek(fd, stat.st_size - 8 - size, SEEK_SET) < 0) {
158-
printf("Faile to lseek: %d\n", -errno);
158+
printf("Failed to lseek: %d\n", -errno);
159159
return -errno;
160160
}
161161

0 commit comments

Comments
 (0)