summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-10-29 18:57:13 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-10-29 18:57:13 +0100
commitb6e7c449f9bb33943f10fdd8f3e539dceb136177 (patch)
tree9a2a66118507974783b4d77586be30dcd5f868a5 /hurd
parent954cf3c29bd0b32bd11d5235b7e36148b187e77d (diff)
downloadglibc-b6e7c449f9bb33943f10fdd8f3e539dceb136177.tar.gz
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
Diffstat (limited to 'hurd')
-rw-r--r--hurd/intr-msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c
index 7ace0a16b3..9ddae627c4 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;