From 4f904363e44d029a09f86059f61ae3c3e7c6593c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 2 Dec 2001 19:45:22 +0000 Subject: * hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning. Reported by Jeff Bailey . Reported by Jeff Bailey . --- hurd/hurd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hurd') 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; -- cgit v1.1