diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2004-08-16 11:12:57 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2004-08-16 11:12:57 +0000 |
commit | 4a16b489ca9ae6c3c6d27db6ef6ab406366f7897 (patch) | |
tree | 89895eef75dd083fbb294eca799be3daa44d512c /sys/compat/linux | |
parent | c680f6b12d27019c2c3e2943396cdea7951535e6 (diff) |
Notes
Diffstat (limited to 'sys/compat/linux')
-rw-r--r-- | sys/compat/linux/linux_misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 292a20fde9b4c..3f080280bdcb1 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -233,7 +233,7 @@ linux_brk(struct thread *td, struct linux_brk_args *args) #ifdef DEBUG if (ldebug(brk)) - printf(ARGS(brk, "%p"), (void *)args->dsend); + printf(ARGS(brk, "%p"), (void *)(uintptr_t)args->dsend); #endif old = (vm_offset_t)vm->vm_daddr + ctob(vm->vm_dsize); new = (vm_offset_t)args->dsend; @@ -609,7 +609,7 @@ linux_mremap(struct thread *td, struct linux_mremap_args *args) #ifdef DEBUG if (ldebug(mremap)) printf(ARGS(mremap, "%p, %08lx, %08lx, %08lx"), - (void *)args->addr, + (void *)(uintptr_t)args->addr, (unsigned long)args->old_len, (unsigned long)args->new_len, (unsigned long)args->flags); |