[Crash-utility] [PATCH] Fix spelling typos in help.c

Kazuhito Hagio kazuhito.hagio at gmail.com
Fri Jul 3 00:05:00 UTC 2020


On Tue, Jun 30, 2020 at 10:03 PM Masanari Iida <standby24x7 at gmail.com> wrote:
>
> This patch fixes some spelling typos in help.c
> (standby24x7 at gmail.com)

Thanks for the patch.

Acked-by: Kazuhito Hagio <k-hagio-ab at nec.com>

I will fix another typo in help.c when merging:

--- a/help.c
+++ b/help.c
@@ -3698,7 +3698,7 @@ char *help_ipcs[] = {
 "[-smMq] [-n pid|task] [id | addr]",

 "  This command provides information on the System V IPC facilities.  With no",
-"  arguments, the command will display kernel usage of all three factilities.",
+"  arguments, the command will display kernel usage of all three facilities.",
 "  ",
 "       -s  show semaphore arrays.",
 "       -m  show shared memory segments.",

Thanks,
Kazu

> ---
>  help.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/help.c b/help.c
> index 6476e28d54f9..5e98c037282a 100644
> --- a/help.c
> +++ b/help.c
> @@ -77,7 +77,7 @@ char *program_usage_info[] = {
>      "    value is the physical start address of the block expressed in hexadecimal.",
>      "    The physical address value(s) will be used to create a temporary ELF header",
>      "    in /var/tmp, which will only exist during the crash session.  If a raw RAM",
> -    "    dumpile represents a live memory source, such as that specified by the QEMU",
> +    "    dumpfile represents a live memory source, such as that specified by the QEMU",
>      "    mem-path argument of a memory-backend-file object, then \"live:\" must be",
>      "    prepended to the MEMORY-IMAGE name.",
>      "",
> @@ -4517,7 +4517,7 @@ char *help_vm[] = {
>  "[-p | -P vma | -M mm | -v | -m | -x | -d | [-R reference] [pid | task]]"
>  "\n     [-f vm_flags]",
>  "  This command displays basic virtual memory information of a context,",
> -"  consisting of a pointer to its mm_struct and page dirctory, its RSS and ",
> +"  consisting of a pointer to its mm_struct and page directory, its RSS and ",
>  "  total virtual memory size; and a list of pointers to each vm_area_struct,",
>  "  its starting and ending address, vm_flags value, and file pathname.  If no",
>  "  arguments are entered, the current context is used.  Additionally, the -p ",
> @@ -4539,7 +4539,7 @@ char *help_vm[] = {
>  "                it can be entered manually in order to try to resurrect the",
>  "                virtual memory data of the task.",
>  "  -R reference  search for references to this number or filename.",
> -"            -m  dump the mm_struct assocated with the task.",
> +"            -m  dump the mm_struct associated with the task.",
>  "            -v  dump all of the vm_area_structs associated with the task.",
>  "            -x  override the default output format for the -m or -v options",
>  "                with hexadecimal format.",
> @@ -5196,7 +5196,7 @@ char *help_struct[] = {
>  "             arg3 = 0",
>  "           }",
>  "         }\n",
> -"  Display the flags and virtual members of 4 contigous page structures",
> +"  Display the flags and virtual members of 4 contiguous page structures",
>  "  in the mem_map page structure array:\n",
>  "    %s> page.flags,virtual c101196c 4",
>  "      flags = 0x8000,",
> @@ -6678,7 +6678,7 @@ char *help_kmem[] = {
>  "            and kernel stacks, and the mem_map array.  If found in any of",
>  "            those areas, the information will be dumped in the same manner as",
>  "            if the location-specific flags were used; if contained within a",
> -"            curent task_struct or kernel stack, that task's context will be",
> +"            current task_struct or kernel stack, that task's context will be",
>  "            displayed.",
>  "   address  when used with -s or -S, searches the kmalloc() slab subsystem",
>  "            for the slab containing of this virtual address, showing whether",
> --
> 2.27.0.221.ga08a83db2bf2
>
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility
>




More information about the Crash-utility mailing list