1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

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
This commit is contained in:
Samuel Thibault
2018-10-29 18:57:13 +01:00
parent 954cf3c29b
commit b6e7c449f9
2 changed files with 3 additions and 3 deletions

View File

@ -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;