]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Remove NONNULL(1) for virHostdevPrepareDomainDevices
authorJohn Ferlan <jferlan@redhat.com>
Tue, 21 Mar 2017 18:32:01 +0000 (14:32 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 22 Mar 2017 17:50:00 +0000 (13:50 -0400)
commit40f2a476d111d72da772e49283a84110e6c61d2b
treea4ba39b6d8ff14b6ffda2e91d7f9798cda7658f1
parent47dcce2f083ab82448fa66d9ae60dd59b19b6c75
util: Remove NONNULL(1) for virHostdevPrepareDomainDevices

Since the code checks 'mgr == NULL' anyway, no need for the prototype
to have the NONNULL arg check.  Also add an error message to indicate what
the failure is so that there isn't a failed for some reason error.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/util/virhostdev.c
src/util/virhostdev.h