diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-10-16 13:01:24 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-10-16 13:01:24 +0000 |
commit | bdf104320461e0bf9d404701177565411cdd4009 (patch) | |
tree | 00bc8a5b86b58ac1a4bc3bc46fab198b1c7f1830 /sys/lib | |
parent | 839304b51e5468aad568e6d82f5b102bc8527dc5 (diff) |
prototype changes.
Diffstat (limited to 'sys/lib')
-rw-r--r-- | sys/lib/libsa/exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libsa/exec.c b/sys/lib/libsa/exec.c index 64feb58e655..7483bc1c2ca 100644 --- a/sys/lib/libsa/exec.c +++ b/sys/lib/libsa/exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.c,v 1.5 1996/09/23 14:18:52 mickey Exp $ */ +/* $OpenBSD: exec.c,v 1.6 1996/10/16 13:01:23 mickey Exp $ */ /* $NetBSD: exec.c,v 1.12.4.1 1996/06/02 12:08:48 ragge Exp $ */ /*- @@ -51,7 +51,7 @@ extern u_int opendev; void exec(path, loadaddr, howto) char *path; - char *loadaddr; + void *loadaddr; int howto; { register int io; @@ -138,7 +138,7 @@ exec(path, loadaddr, howto) #define round_to_size(x) \ (((int)(x) + sizeof(int) - 1) & ~(sizeof(int) - 1)) - esym = (char *)round_to_size(addr - loadaddr); + esym = (char *)round_to_size(addr - (char *)loadaddr); #undef round_to_size /* and note the end address of all this */ |