提交 081fd746 编写于 作者: J Jim Meyering

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.
上级 3f745ebe
......@@ -375,7 +375,7 @@ out:
if (dir)
closedir(dir);
VIR_FREE(device_link);
return 0;
return ret;
}
#endif /* __linux__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册