diff options
author | zhaolichang <zhaolichang@huawei.com> | 2020-09-17 15:50:25 +0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-09-17 20:39:22 +0200 |
commit | 6f9ff551a40593432b9d34d4d4142d3bc81c95dd (patch) | |
tree | c01bace35f7cfe3a0a6333a8fb109f2413c0e9a1 /linux-user/flatload.c | |
parent | 8cc360b93ae09bcb0d34148b914652b24dd70061 (diff) |
linux-user/: fix some comment spelling errors
I found that there are many spelling errors in the comments of qemu,
so I used the spellcheck tool to check the spelling errors
and finally found some spelling errors in the linux-user folder.
Signed-off-by: zhaolichang <zhaolichang@huawei.com>
Reviewed-by: Alex Bennee <alex.bennee@linaro.org>
Message-Id: <20200917075029.313-7-zhaolichang@huawei.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/flatload.c')
-rw-r--r-- | linux-user/flatload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/flatload.c b/linux-user/flatload.c index 8fb448f0bf..14d2999d15 100644 --- a/linux-user/flatload.c +++ b/linux-user/flatload.c @@ -442,7 +442,7 @@ static int load_flat_file(struct linux_binprm * bprm, indx_len = (indx_len + 15) & ~(abi_ulong)15; /* - * Alloate the address space. + * Allocate the address space. */ probe_guest_base(bprm->filename, 0, text_len + data_len + extra + indx_len); @@ -794,7 +794,7 @@ int load_flt_binary(struct linux_binprm *bprm, struct image_info *info) #error here for (i = MAX_SHARED_LIBS-1; i>0; i--) { if (libinfo[i].loaded) { - /* Push previos first to call address */ + /* Push previous first to call address */ --sp; if (put_user_ual(start_addr, sp)) return -EFAULT; |