summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2017-07-24 14:57:31 +0100
committerFrediano Ziglio <fziglio@redhat.com>2017-07-24 16:45:38 +0100
commit78099ae2bf60f54ad87d51e1e193b8a5d8a4327f (patch)
treecbdec95289302fc127dd397c603af9e62746a54b
parent1a0bc10cbe253cc294dd86563d4143973ab81bc0 (diff)
log: add comment to make code clearer
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
-rw-r--r--common/vdlog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/vdlog.cpp b/common/vdlog.cpp
index f18f59b..b9ae93f 100644
--- a/common/vdlog.cpp
+++ b/common/vdlog.cpp
@@ -81,5 +81,7 @@ void VDLog::printf(const char* format, ...)
void log_version()
{
// print same version as resource one
+ // RC_PRODUCTVERSION contains 4 numbers separated by commas (resource
+ // version information source format).
vd_printf("%u.%u.%u.%u", RC_PRODUCTVERSION);
}