]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hostusb: closedir only if non-NULL; rename labels: s/error/cleanup/
authorJim Meyering <meyering@redhat.com>
Mon, 25 Jan 2010 15:54:06 +0000 (16:54 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 26 Jan 2010 15:11:45 +0000 (16:11 +0100)
commitfb54230b60be19ccdad39fd723d7d75f3a920808
tree76746fa55f891ffaad0f029efd9676cfd0d825f8
parentba1d379ce82dd079da8d045c434e44f25a7d1916
hostusb: closedir only if non-NULL; rename labels: s/error/cleanup/

* src/util/hostusb.c (usbSysReadFile): Rename labels s/error/cleanup/
(usbFindBusByVendor): Likewise.  And closedir only if non-NULL.
src/util/hostusb.c