From aa9d4435913df0f25b1fa13388feb04916313b44 Mon Sep 17 00:00:00 2001 From: downsj Date: Wed, 16 Apr 1997 11:26:36 +0000 Subject: [PATCH] fix cut 'n' paste --- sys/arch/hp300/stand/machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/hp300/stand/machdep.c b/sys/arch/hp300/stand/machdep.c index 73347204d32..f232974dcfe 100644 --- a/sys/arch/hp300/stand/machdep.c +++ b/sys/arch/hp300/stand/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.4 1997/04/16 07:10:29 downsj Exp $ */ +/* $OpenBSD: machdep.c,v 1.5 1997/04/16 11:26:36 downsj Exp $ */ /* $NetBSD: machdep.c,v 1.6 1996/10/14 07:33:46 thorpej Exp $ */ /* @@ -167,7 +167,7 @@ machdep_start(entry, howto, loadaddr, ssym, esym) /* Fix what we were passed in from exec() */ entry = loadaddr; #define round_to_size(x) (((int)(x) + sizeof(int) - 1) & ~(sizeof(int) - 1)) - esym = (char *)round_to_size(addr - (char *)loadaddr); + esym = (char *)round_to_size(esym - (char *)loadaddr); #undef round_to_size asm("movl %0,d7" : : "m" (howto)); -- 2.20.1