X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fi386-io-windows.h;h=8089d19b3a28922bfe93d674b4a0a801dc3966cb;hb=2be154f7350826f3e08cc7425e761946ed039fab;hp=6bb578cb40d74c0fccefc119e66e858ad8b9b4d3;hpb=c7d9aa0bcee872630ae4f543a5b4e61aa2139974;p=pciutils.git diff --git a/lib/i386-io-windows.h b/lib/i386-io-windows.h index 6bb578c..8089d19 100644 --- a/lib/i386-io-windows.h +++ b/lib/i386-io-windows.h @@ -5,7 +5,9 @@ * Copyright (c) 2006 Martin Mares * Copyright (c) 2021 Pali Rohár * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include @@ -1141,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