summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-04-16 11:26:37 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-04-16 11:26:37 +0000
commit75113d46e0ad67778c0741a5bfc96d9d686f7eec (patch)
tree5fbf596bcd72a01de5c88831ba4325058ecb8e1b /sys/arch
parent6dbcee9d521ccbf0bbe04b6c10a9e48c411ce640 (diff)
fix cut 'n' paste
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hp300/stand/machdep.c4
1 files 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));