summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hurd/hurd.h b/hurd/hurd.h
index 6ba73b25fd..44c0b99184 100644
--- a/hurd/hurd.h
+++ b/hurd/hurd.h
@@ -61,13 +61,16 @@ __hurd_fail (error_t err)
case KERN_NO_SPACE:
err = ENOMEM;
break;
+
case KERN_INVALID_ARGUMENT:
err = EINVAL;
break;
case 0:
return 0;
+
default:
+ break;
}
errno = err;