diff options
author | obrien <obrien@FreeBSD.org> | 2004-08-16 11:12:57 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-08-16 11:12:57 +0000 |
commit | 2e13038823fc3e1d4e814ed4dd52096a4e2350c4 (patch) | |
tree | 89895eef75dd083fbb294eca799be3daa44d512c /sys | |
parent | 6cd572e133f762a3d4dd09476032247f50f3d778 (diff) | |
download | FreeBSD-src-2e13038823fc3e1d4e814ed4dd52096a4e2350c4.zip FreeBSD-src-2e13038823fc3e1d4e814ed4dd52096a4e2350c4.tar.gz |
Fix the 'DEBUG' argument code to unbreak the amd64 LINT build.
Diffstat (limited to 'sys')
-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 292a20f..3f08028 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); |