]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/i386-io-windows.h
libpci: i386-io-windows.h: Fix error code in ERROR_PRIVILEGE_NOT_HELD code path
[pciutils.git] / lib / i386-io-windows.h
index fd1a54e24b73e2a4664787936d75557d2eb2064d..8089d19b3a28922bfe93d674b4a0a801dc3966cb 100644 (file)
@@ -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