]> mj.ucw.cz Git - pciutils.git/commitdiff
libpci: win32-cfgmgr32: Fix reg key name in warning message
authorPali Rohár <pali@kernel.org>
Sun, 11 Jun 2023 11:48:07 +0000 (13:48 +0200)
committerMartin Mares <mj@ucw.cz>
Fri, 29 Dec 2023 13:30:02 +0000 (14:30 +0100)
lib/win32-cfgmgr32.c

index 61901d2451d89e8df6f5f3bddeaa45df82ba7410..6a268856417785956557338cb4fee83d84c49ac2 100644 (file)
@@ -714,7 +714,7 @@ retry_subname:
             {
               error = GetLastError();
               if (error == 0)
-                a->warning("Cannot read driver %s key for PCI device %s: DevLoader key is stored as unknown type 0x%lx.", subname, devinst_id, unkn_reg_type);
+                a->warning("Cannot read driver %s key for PCI device %s: %s key is stored as unknown type 0x%lx.", subname, devinst_id, subname, unkn_reg_type);
               else if (error != ERROR_FILE_NOT_FOUND)
                 a->warning("Cannot read driver %s key for PCI device %s: %s.", subname, devinst_id, win32_strerror(error));
               else if (strcmp(subname, "minivdd") == 0)