ifcfg-rh: fix reading SR-IOV settings

Fixes: d48f389cbf
(cherry picked from commit 0819563e01)
This commit is contained in:
Beniamino Galvani 2018-12-13 18:06:43 +01:00
parent 7c6dba0b43
commit e4fa047126

View file

@ -2284,7 +2284,7 @@ make_sriov_setting (shvarFile *ifcfg)
total_vfs = NM_MAX (total_vfs, 0);
g_object_set (s_sriov,
NM_SETTING_SRIOV_TOTAL_VFS, total_vfs,
NM_SETTING_SRIOV_TOTAL_VFS, (guint) total_vfs,
NM_SETTING_SRIOV_VFS, vfs,
NM_SETTING_SRIOV_AUTOPROBE_DRIVERS, autoprobe_drivers,
NULL);