intel-virtual-output: Add version number to verbose output

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2014-12-17 07:51:31 +00:00
parent 123754de41
commit c211b3bc61
1 changed files with 6 additions and 0 deletions

View File

@ -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;