mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
get_virtual_functions_linux: would mistakenly always return zero
* src/node_device/node_device_linux_sysfs.c(get_virtual_functions_linux): Return "ret", rather than always returning 0.
This commit is contained in:
parent
3f745ebe9f
commit
081fd746f0
@ -375,7 +375,7 @@ out:
|
||||
if (dir)
|
||||
closedir(dir);
|
||||
VIR_FREE(device_link);
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
#endif /* __linux__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user