Typo fix
Samuel Rydh
mol-devel@lists.maconlinux.org
Mon, 24 Feb 2003 00:25:42 +0100
On Sun, Feb 23, 2003 at 08:02:48PM +0100, Andreas Schwab wrote:
> This fixes a typo in the kernel module sources: there is one zero too
> much.
>
> Andreas.
>
> --- src/kmod/hook.c.~1~ 2003-02-23 19:44:33.000000000 +0100
> +++ src/kmod/hook.c 2003-02-23 19:54:27.000000000 +0100
> @@ -309,7 +309,7 @@ relocate_inst( ulong *ret_opcode, ulong
> offs |= ~0x03ffffff;
> }
> /* unconditional, relativ bc branch (b 0100 001z1zz ...) */
> - if( (opcode & 0xfe8000003) == 0x42800000 ){
> + if( (opcode & 0xfe800003) == 0x42800000 ){
> offs = (opcode & 0xfffc);
> if( offs & 0x8000 )
> offs |= ~0xffff;
Thanks, I have made the change.
/Samuel