]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: FS backend adjust error message on error path
authorJohn Ferlan <jferlan@redhat.com>
Tue, 2 Jun 2015 20:25:58 +0000 (16:25 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 5 Jun 2015 10:25:19 +0000 (06:25 -0400)
commitfcf0fd52cba1fef113bde7d41c036ead9e2b103b
treeed622dfc563552884f33d4291dcf335a3a262efb
parent5a8c98dbd99a3b83e4cd3e2883a9c7217e2fd5fd
storage: FS backend adjust error message on error path

https://bugzilla.redhat.com/show_bug.cgi?id=1181087

Currently the assumption on the error message is that there are
no source device paths defined when the number of devices check
fails, but in reality the XML could have had none or it could have
had more than the value supported. Adjust the error message accordingly
to make it clearer what the error really is.
src/storage/storage_backend_fs.c