]> git.ipfire.org Git - thirdparty/libvirt.git/commit
phyp: avoid a logic bug
authorEric Blake <eblake@redhat.com>
Thu, 14 Apr 2011 16:35:42 +0000 (10:35 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 15 Apr 2011 21:26:26 +0000 (15:26 -0600)
commitef6147c40edda8e9bfac5dcf0b794731c33542fb
tree7b2ccf71a60ba54b97ea74a4a41581af33ef8121
parentdbe3bad98788e11bd304c4aa42e1ab2ac1433b92
phyp: avoid a logic bug

Ever since commit ebc46f, the destroy function built two command
variants but only used one.  I went with the variant that matches
the idiom used in the counterpart of phypBuildStoragePool.

* src/phyp/phyp_driver.c (phypDestroyStoragePool): Avoid
clobbering cmd.  Fix error message typo.
src/phyp/phyp_driver.c