diff options
author | Thomas Haller <thaller@redhat.com> | 2021-03-04 10:49:31 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-03-05 11:27:15 +0100 |
commit | 9113a672cf98cd8b8cc1d1590fa468dceaf6d531 (patch) | |
tree | 626e08ff0b193348a8267eceacaced3f6e7536e9 /src/core/initrd/nmi-ibft-reader.c | |
parent | 7b18e15481fcf48d20360dd07a63ac48313225de (diff) | |
download | NetworkManager-9113a672cf98cd8b8cc1d1590fa468dceaf6d531.tar.gz |
platform: move nm_utils_modprobe() to libnm-platform
Diffstat (limited to 'src/core/initrd/nmi-ibft-reader.c')
-rw-r--r-- | src/core/initrd/nmi-ibft-reader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/initrd/nmi-ibft-reader.c b/src/core/initrd/nmi-ibft-reader.c index 3a5b5d6634..7b631b8ca5 100644 --- a/src/core/initrd/nmi-ibft-reader.c +++ b/src/core/initrd/nmi-ibft-reader.c @@ -18,6 +18,7 @@ #include <linux/if_ether.h> #include "libnm-core-intern/nm-core-internal.h" +#include "libnm-platform/nm-platform-utils.h" #include "NetworkManagerUtils.h" /*****************************************************************************/ @@ -92,7 +93,7 @@ nmi_ibft_read(const char *sysfs_dir) (GDestroyNotify) g_hash_table_unref); if (!g_file_test(ibft_path, G_FILE_TEST_IS_DIR)) - nm_utils_modprobe(NULL, FALSE, "iscsi_ibft", NULL); + nmp_utils_modprobe(NULL, FALSE, "iscsi_ibft", NULL); if (!g_file_test(ibft_path, G_FILE_TEST_IS_DIR)) return ibft; |