From cfd1d61fe4b18c7b7f9ae53cfbaa3ba016af505d Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 23 Dec 2021 12:59:08 +0900 Subject: [PATCH] network: sr-iov: fix section name in log messages --- src/network/networkd-sriov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/networkd-sriov.c b/src/network/networkd-sriov.c index 6da0f83521..6805987b2b 100644 --- a/src/network/networkd-sriov.c +++ b/src/network/networkd-sriov.c @@ -258,8 +258,8 @@ static int sr_iov_section_verify(SRIOV *sr_iov) { if (sr_iov->vf == UINT32_MAX) return log_warning_errno(SYNTHETIC_ERRNO(EINVAL), - "%s: [SRIOV] section without VirtualFunction= field configured. " - "Ignoring [SRIOV] section from line %u.", + "%s: [SR-IOV] section without VirtualFunction= field configured. " + "Ignoring [SR-IOV] section from line %u.", sr_iov->section->filename, sr_iov->section->line); return 0; -- 2.25.1