diff options
| author | 2007-09-01 15:14:44 +0000 | |
|---|---|---|
| committer | 2007-09-01 15:14:44 +0000 | |
| commit | 6811be10fa8baa4a0027fcc04ed31610c7598ec7 (patch) | |
| tree | 1da94f270937cbbc4ffb6e1482b17d8cf8e999cc /sys/compat/linux/linux_exec.c | |
| parent | Fix space and underline handling in rasops24_putchar(), spotted by Leon Zadorin. (diff) | |
| download | wireguard-openbsd-6811be10fa8baa4a0027fcc04ed31610c7598ec7.tar.xz wireguard-openbsd-6811be10fa8baa4a0027fcc04ed31610c7598ec7.zip | |
replace the machine dependant bytes-to-clicks macro by the MI ptoa()
version for i386
more architectures and ctob() replacement is being worked on
prodded by and ok miod
Diffstat (limited to 'sys/compat/linux/linux_exec.c')
| -rw-r--r-- | sys/compat/linux/linux_exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_exec.c b/sys/compat/linux/linux_exec.c index ae096b470a5..7a265c31dba 100644 --- a/sys/compat/linux/linux_exec.c +++ b/sys/compat/linux/linux_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_exec.c,v 1.25 2006/01/19 17:54:52 mickey Exp $ */ +/* $OpenBSD: linux_exec.c,v 1.26 2007/09/01 15:14:44 martin Exp $ */ /* $NetBSD: linux_exec.c,v 1.13 1996/04/05 00:01:10 christos Exp $ */ /*- @@ -162,7 +162,7 @@ linux_e_proc_init(p, vmspace) /* Set the process idea of the break to the real value */ ((struct linux_emuldata *)(p->p_emuldata))->p_break = - vmspace->vm_daddr + ctob(vmspace->vm_dsize); + vmspace->vm_daddr + ptoa(vmspace->vm_dsize); } void |
