diff options
| author | Wei Mao <[email protected]> | 2017-11-16 14:01:47 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-11-16 14:01:47 -0800 |
| commit | d7a7b3cfa591204c4a447a6f7c6f40db26e16f81 (patch) | |
| tree | b634f31f2521585c0638547832581afca4ce10db | |
| parent | cb9e75e84400e44c92c6f3f256ad834a2618c3d1 (diff) | |
| parent | a74c2429e2e7162985d138237de5d68c966ef3f1 (diff) | |
Merge pull request #178 from 4con/ioctl_kmdf_minor_bugfix
Fix general/ioctl/kmdf/exe load wrong version of wdf controller dll.
| -rw-r--r-- | general/ioctl/kmdf/exe/testapp.c | 3 |
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, |
