aboutsummaryrefslogtreecommitdiff
path: root/hurd/hurd.h
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/hurd.h')
-rw-r--r--hurd/hurd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hurd/hurd.h b/hurd/hurd.h
index 6ba73b2..44c0b99 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;