aboutgitcodebugslistschat
path: root/log.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-10-06 14:59:26 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-10-14 17:38:58 +0200
commit2074b332f9c6d533c7adb46491b3a4b7461cc110 (patch)
tree2f1f55bfe89abb0d23637f69a5f369e840beb43f /log.c
parent01efc71ddd2523594b94e8be00d9e51d6cdd6130 (diff)
downloadpasst-2074b332f9c6d533c7adb46491b3a4b7461cc110.tar
passt-2074b332f9c6d533c7adb46491b3a4b7461cc110.tar.gz
passt-2074b332f9c6d533c7adb46491b3a4b7461cc110.tar.bz2
passt-2074b332f9c6d533c7adb46491b3a4b7461cc110.tar.lz
passt-2074b332f9c6d533c7adb46491b3a4b7461cc110.tar.xz
passt-2074b332f9c6d533c7adb46491b3a4b7461cc110.tar.zst
passt-2074b332f9c6d533c7adb46491b3a4b7461cc110.zip
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>
Diffstat (limited to 'log.c')
-rw-r--r--log.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/log.c b/log.c
index d769a33..993c617 100644
--- a/log.c
+++ b/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;