From: Yu Watanabe Date: Thu, 23 Dec 2021 03:59:08 +0000 (+0900) Subject: network: sr-iov: fix section name in log messages X-Git-Tag: v251-rc1~497^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfd1d61fe4b18c7b7f9ae53cfbaa3ba016af505d;p=thirdparty%2Fsystemd.git network: sr-iov: fix section name in log messages --- diff --git a/src/network/networkd-sriov.c b/src/network/networkd-sriov.c index 6da0f83521c..6805987b2b8 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;