]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Modify virStorageFileGetSCSIKey return
authorJohn Ferlan <jferlan@redhat.com>
Tue, 15 Jan 2019 21:11:48 +0000 (16:11 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 1 Feb 2019 15:30:13 +0000 (10:30 -0500)
commit9b86bbccb371026d0ce7ab9a2ce685b1fae8a717
treefe250bd0ec610b38c568afca95ee935c5a334c53
parentf136b83139c63f20de0df3285d9e82df2fb97bfc
util: Modify virStorageFileGetSCSIKey return

Alter the "real" code to return -2 on virCommandRun failure.
Alter the comments and function header to describe the function
and its returns.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virstoragefile.c