net_util: streamline error messages

In [0] we agreed on the current format.

[0] https://github.com/cloud-hypervisor/cloud-hypervisor/pull/7066

On-behalf-of: SAP philipp.schuster@sap.com
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit is contained in:
Philipp Schuster
2026-06-25 13:29:17 +02:00
committed by Bo Chen
parent 786d40f549
commit fdc076d22f

View File

@@ -33,7 +33,7 @@ pub enum Error {
GetFeatures(#[source] IoError),
#[error("Missing multiqueue support in the kernel")]
MultiQueueKernelSupport,
#[error("ioctl ({0}) failed: {1}")]
#[error("Ioctl failed ({0})")]
IoctlError(c_ulong, #[source] IoError),
#[error("Failed to create a socket")]
NetUtil(#[source] NetUtilError),