diff options
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/i386/ioperm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/ioperm.c b/sysdeps/mach/hurd/i386/ioperm.c index 4a3cd77164..39139bc565 100644 --- a/sysdeps/mach/hurd/i386/ioperm.c +++ b/sysdeps/mach/hurd/i386/ioperm.c @@ -44,6 +44,9 @@ ioperm (unsigned long int from, unsigned long int num, int turn_on) err = __i386_io_perm_modify (__mach_task_self (), perm, turn_on); __mach_port_deallocate (__mach_task_self (), perm); } + + if (err == MIG_BAD_ID) /* Old kernels don't have these RPCs. */ + err = ENOSYS; } return err ? __hurd_fail (err) : 0; |