mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
Fix the 'DEBUG' argument code to unbreak the amd64 LINT build.
This commit is contained in:
parent
c680f6b12d
commit
4a16b489ca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133845
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user