Message ID | 20201219175850.3093692-1-samuel.thibault@ens-lyon.org |
---|---|
State | New |
Headers | show |
Series | [hurd,commited] hurd: Also turn KERN_INVALID_ADDRESS to EINVAL | expand |
diff --git a/hurd/hurd.h b/hurd/hurd.h index c6e88a63c2..5fa7be5add 100644 --- a/hurd/hurd.h +++ b/hurd/hurd.h @@ -66,6 +66,7 @@ __hurd_fail (error_t err) err = (error_t) ENOMEM; break; + case KERN_INVALID_ADDRESS: case KERN_INVALID_ARGUMENT: err = (error_t) EINVAL; break;