From fdc076d22fc25c766c73964eecbc4a2a8aedaaf0 Mon Sep 17 00:00:00 2001 From: Philipp Schuster Date: Thu, 25 Jun 2026 13:29:17 +0200 Subject: [PATCH] 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 --- net_util/src/tap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net_util/src/tap.rs b/net_util/src/tap.rs index a06b12fde..166d1353f 100644 --- a/net_util/src/tap.rs +++ b/net_util/src/tap.rs @@ -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),