From 2be154f7350826f3e08cc7425e761946ed039fab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pali=20Roh=C3=A1r?= Date: Sat, 6 May 2023 18:35:20 +0200 Subject: [PATCH] libpci: i386-io-windows.h: Fix error code in ERROR_PRIVILEGE_NOT_HELD code path --- lib/i386-io-windows.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/i386-io-windows.h b/lib/i386-io-windows.h index fd1a54e..8089d19 100644 --- a/lib/i386-io-windows.h +++ b/lib/i386-io-windows.h @@ -1143,7 +1143,7 @@ SetProcessUserModeIOPL(VOID) */ if (!LookupPrivilegeValue(NULL, SE_TCB_NAME, &luid_tcb_privilege)) - goto err_not_implemented; + goto err_privilege_not_held; /* * If the current thread has already Tcb privilege enabled then there -- 2.39.2