log: Add missing function comment for trace_init()
Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
01efc71ddd
commit
2074b332f9
1 changed files with 4 additions and 0 deletions
4
log.c
4
log.c
|
@ -91,6 +91,10 @@ logfn(warn, LOG_WARNING)
|
|||
logfn(info, LOG_INFO)
|
||||
logfn(debug, LOG_DEBUG)
|
||||
|
||||
/**
|
||||
* trace_init() - Set log_trace depending on trace (debug) mode
|
||||
* @enable: Tracing debug mode enabled if non-zero
|
||||
*/
|
||||
void trace_init(int enable)
|
||||
{
|
||||
log_trace = enable;
|
||||
|
|
Loading…
Reference in a new issue