summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-12-17 07:51:31 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-12-17 08:00:00 +0000
commitc211b3bc61efa7d13a5f5f1276649d90bf4ef854 (patch)
tree261282e9df64543dadeb403b2e7720e0af1acd1a /tools
parent123754de41380b94922768d021987b1dea3b39c4 (diff)
intel-virtual-output: Add version number to verbose output
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/virtual.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/virtual.c b/tools/virtual.c
index dbbbc279..79284457 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -3214,6 +3214,12 @@ int main(int argc, char **argv)
}
}
+ if (verbose)
+ printf("intel-virtual-output: version %d.%d.%d\n",
+ PACKAGE_VERSION_MAJOR,
+ PACKAGE_VERSION_MINOR,
+ PACKAGE_VERSION_PATCHLEVEL);
+
ret = context_init(&ctx);
if (ret)
return -ret;