mirror of git://sourceware.org/git/glibc.git
2002-11-09 Marcus Brinkmann <marcus@gnu.org>
* sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one
error in range calculation.
This commit is contained in:
parent
9372c95824
commit
55c303acb8
|
|
@ -1,3 +1,8 @@
|
|||
2002-11-09 Marcus Brinkmann <marcus@gnu.org>
|
||||
|
||||
* sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one
|
||||
error in range calculation.
|
||||
|
||||
2002-10-09 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* string/test-strspn.c (do_test): Ensure zero termination.
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ ioperm (unsigned long int from, unsigned long int num, int turn_on)
|
|||
if (! err)
|
||||
{
|
||||
io_perm_t perm;
|
||||
err = __i386_io_perm_create (devmaster, from, from + num, &perm);
|
||||
err = __i386_io_perm_create (devmaster, from, from + num - 1, &perm);
|
||||
__mach_port_deallocate (__mach_task_self (), devmaster);
|
||||
if (! err)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue