diff options
author | 1996-10-16 13:01:23 +0000 | |
---|---|---|
committer | 1996-10-16 13:01:23 +0000 | |
commit | 3b01e2976a4c53eb9f53068c1c179c29f7940026 (patch) | |
tree | fecc67e6e99c1cbe589812d7a2746bcd55849e8b | |
parent | contextual usage (diff) | |
download | wireguard-openbsd-3b01e2976a4c53eb9f53068c1c179c29f7940026.tar.xz wireguard-openbsd-3b01e2976a4c53eb9f53068c1c179c29f7940026.zip |
prototype changes.
-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 */ |