From 13494e979e3f67f97b9de37c589982e323c3eedc Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 1 Nov 2020 23:10:51 +0100 Subject: api: pnf param is none Signed-off-by: Jason A. Donenfeld --- api/adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/adapter.c') diff --git a/api/adapter.c b/api/adapter.c index 5431bc3..7063cf2 100644 --- a/api/adapter.c +++ b/api/adapter.c @@ -1489,7 +1489,7 @@ InstallDriver(_Out_writes_z_(MAX_PATH) WCHAR InfStorePath[MAX_PATH], _Inout_ BOO } LOG(WINTUN_LOG_INFO, L"Installing driver"); - if (!SetupCopyOEMInfW(InfPath, NULL, SPOST_PATH, 0, InfStorePath, MAX_PATH, NULL, NULL)) + if (!SetupCopyOEMInfW(InfPath, NULL, SPOST_NONE, 0, InfStorePath, MAX_PATH, NULL, NULL)) { Result = LOG_LAST_ERROR(L"Could not install driver to store"); goto cleanupCloseDevInfo; -- cgit v1.2.3-59-g8ed1b