]> git.ipfire.org Git - thirdparty/libvirt.git/commit
node_device: more informative error log when device isn't found
authorLaine Stump <laine@laine.org>
Wed, 27 May 2015 17:59:57 +0000 (13:59 -0400)
committerLaine Stump <laine@laine.org>
Thu, 28 May 2015 16:48:45 +0000 (12:48 -0400)
commit06a18bc84b8f64683e2e2a24dca8dca1a5cbb7fa
tree625586375d0ac5790eac18511facc337c7441b02
parent6074f8316c88468a714518d15fa7d9ae2f78cd49
node_device: more informative error log when device isn't found

In a couple of cases, the node device driver (and the test node device
driver which likely copied it) was only logging "Node device not
found" when it couldn't find the requested device. This patch changes
those cases to log the name (and in the case when it's relevant, the
wwnn and wwpn) as well.
src/node_device/node_device_driver.c
src/test/test_driver.c