diff options
author | Pali Rohár <pali@kernel.org> | 2023-05-06 18:35:20 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2023-12-29 14:30:02 +0100 |
commit | 2be154f7350826f3e08cc7425e761946ed039fab (patch) | |
tree | 441aaf59ed23e84e09a10b87b9be8063a69e1ede | |
parent | bc82efb4d74d662300277d6f2276d049b5c91148 (diff) | |
download | pciutils-2be154f7350826f3e08cc7425e761946ed039fab.tar.gz |
libpci: i386-io-windows.h: Fix error code in ERROR_PRIVILEGE_NOT_HELD code path
-rw-r--r-- | lib/i386-io-windows.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |