Re: [PATCH][next] tools: bootconfig: fix spelling mistake "faile" -> "failed"

From: Masami Hiramatsu
Date: Sun Jan 19 2020 - 22:04:10 EST


Hi Steve,

Could you pick this fix too?

Thank you,

On Thu, 16 Jan 2020 19:02:39 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> Hi Colin,
>
> On Thu, 16 Jan 2020 09:22:06 +0000
> Colin King <colin.king@xxxxxxxxxxxxx> wrote:
>
> > From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> >
> > There are two spelling mistakes in printf statements, fix these.
>
> Good catch!
>
> Acked-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
>
> Thanks!
>
> >
> > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> > ---
> > tools/bootconfig/main.c | 4 ++--
> > 1 file 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;
> > }
> >
> > --
> > 2.24.0
> >
>
>
> --
> Masami Hiramatsu <mhiramat@xxxxxxxxxx>


--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>