nshlib/Kconfig: Add missing NSH_DISABLE_DMESG, typos.

This commit is contained in:
Juha Niskanen 2019-11-08 07:52:22 -06:00 • committed by Gregory Nutt
parent f4f1ddccd7
commit eaeb6cc105
5 changed files with 43 additions and 31 deletions

View file

@ -131,7 +131,7 @@ static void el_print_options(void)
el_ooption(&g_el, EL_TS_FRACT, EL_TS_FRACT_NS);
el_ooption(&g_el, EL_FINFO, 1);
el_oprint(OELF, "log location is very usefull for debuging");
el_oprint(OELF, "log location is very useful for debugging");
el_ooption(&g_el, EL_TS, EL_TS_LONG);
el_ooption(&g_el, EL_TS_TM, EL_TS_TM_REALTIME);
@ -196,10 +196,12 @@ static void el_print_memory(void)
el_oprint(OELI, "print whole ASCII table");
el_opmemory(OELI, ascii, sizeof(ascii));
el_oprint(OELI, "print memory region that contains string with NULL chars");
el_oprint(OELI, "print memory region that contains string with NULL "
"chars");
el_opmemory(OELI, s, sizeof(s));
el_oprint(OELI, "print the same region but this time with nice ascii table");
el_oprint(OELI, "print the same region but this time with nice ascii "
"table");
el_opmemory_table(OELI, s, sizeof(s));
}
@ -286,9 +288,9 @@ static void el_print_file(const char *workdir)
* any other error it actually a warning, telling user that file
* could not have been opened now, but every el_print function with
* output to file enabled, will try to reopen file. This of course
* apply to situation when problem is temporary - like directory does
* not exist but will be created after warning, or file has no write
* permission but it gets fixed later.
* apply to situation when problem is temporary - like directory
* does not exist but will be created after warning, or file has
* no write permission but it gets fixed later.
*/
fprintf(stderr, "log file name too long");