include/debug.h/syslog.h: Fix small typos and repeated words
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
fdaf265ed0
commit
0f44e9539e
@ -51,7 +51,7 @@
|
||||
* verbose "informational" debug output. If you enable CONFIG_DEBUG_INFO,
|
||||
* then very chatty (and often annoying) output will be generated.
|
||||
*
|
||||
* The first character of the macro name indicates the system system
|
||||
* The first character of the macro name indicates the system
|
||||
* (e.g., n=network, f=filesystm, etc.). If the first character is
|
||||
* missing (i.e., _info()), then it is common. The common _info() macro
|
||||
* is enabled simply with CONFIG_DEBUG_INFO. Subsystem debug requires an
|
||||
@ -71,8 +71,8 @@
|
||||
*
|
||||
* [a-z]err() -- Identical to [a-z]info() except that it also requires that
|
||||
* CONFIG_DEBUG_ERROR be defined. This is intended for important
|
||||
* error-related information that you probably not want to suppress during
|
||||
* normal debug general debugging.
|
||||
* error-related information that you probably don't want to suppress
|
||||
* during general debugging.
|
||||
*
|
||||
* _alert() - is a special, high-priority, unconditional version that is
|
||||
* really intended only for crash error reporting.
|
||||
@ -92,6 +92,7 @@
|
||||
|
||||
#ifdef CONFIG_CPP_HAVE_VARARGS
|
||||
/* don't call syslog while performing the compiler's format check. */
|
||||
|
||||
# define _none(format, ...) \
|
||||
do { if (0) syslog(LOG_ERR, format, ##__VA_ARGS__); } while (0)
|
||||
#else
|
||||
|
@ -62,8 +62,8 @@
|
||||
* LOG_AUTHPRIV - Security/authorization messages (private)
|
||||
* LOG_CRON - Clock daemon (cron and at)
|
||||
* LOG_DAEMON - System daemons without separate facility value
|
||||
* LOG_FTP - Ftp daemon
|
||||
* LOG_KERN - Lernel messages (these can't be generated from user
|
||||
* LOG_FTP - FTP daemon
|
||||
* LOG_KERN - Kernel messages (these can't be generated from user
|
||||
* processes)
|
||||
* LOG_LOCAL0 through LOG_LOCAL7 - Reserved for local use
|
||||
* LOG_LPR - Line printer subsystem
|
||||
|
Loading…
x
Reference in New Issue
Block a user