From: Pali Rohár Date: Sun, 11 Jun 2023 11:48:07 +0000 (+0200) Subject: libpci: win32-cfgmgr32: Fix reg key name in warning message X-Git-Tag: v3.11.0~73 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=bc82efb4d74d662300277d6f2276d049b5c91148;p=pciutils.git libpci: win32-cfgmgr32: Fix reg key name in warning message --- diff --git a/lib/win32-cfgmgr32.c b/lib/win32-cfgmgr32.c index 61901d2..6a26885 100644 --- a/lib/win32-cfgmgr32.c +++ b/lib/win32-cfgmgr32.c @@ -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)