From b6e7c449f9bb33943f10fdd8f3e539dceb136177 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 29 Oct 2018 18:57:13 +0100 Subject: hurd: return EIEIO instead of EIO EIO would be understood as hardware failure, while this is software failure. * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Return EIEIO instead of EIO --- hurd/intr-msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hurd') diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c index 7ace0a1..9ddae62 100644 --- a/hurd/intr-msg.c +++ b/hurd/intr-msg.c @@ -323,9 +323,9 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg, /* FALLTHROUGH */ dead: - err = EIO; + err = EIEIO; - /* The EIO return indicates cancellation, so clear the flag. */ + /* The EIEIO return indicates cancellation, so clear the flag. */ ss->cancel = 0; break; -- cgit v1.1