summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--general/ioctl/kmdf/exe/testapp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/general/ioctl/kmdf/exe/testapp.c b/general/ioctl/kmdf/exe/testapp.c
index a645203e..4e230124 100644
--- a/general/ioctl/kmdf/exe/testapp.c
+++ b/general/ioctl/kmdf/exe/testapp.c
@@ -198,7 +198,8 @@ GetCoinstallerVersion(
VOID
)
{
- if (FAILED( StringCchPrintf(G_coInstallerVersion,
+ if (!G_versionSpecified &&
+ FAILED( StringCchPrintf(G_coInstallerVersion,
MAX_VERSION_SIZE,
"%02d%03d", // for example, "01009"
KMDF_VERSION_MAJOR,