fix debugging printf.

This commit is contained in:
christos 2010-04-02 14:11:18 +00:00
parent 79bdd20aa6
commit 8c20e0e884

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec_elf.c,v 1.19 2010/03/22 22:10:10 drochner Exp $ */
/* $NetBSD: exec_elf.c,v 1.20 2010/04/02 14:11:18 christos Exp $ */
/*-
* Copyright (c) 1994, 2000, 2005 The NetBSD Foundation, Inc.
@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(1, "$NetBSD: exec_elf.c,v 1.19 2010/03/22 22:10:10 drochner Exp $");
__KERNEL_RCSID(1, "$NetBSD: exec_elf.c,v 1.20 2010/04/02 14:11:18 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_pax.h"
@ -144,8 +144,9 @@ elf_placedynexec(struct lwp *l, struct exec_package *epp, Elf_Ehdr *eh,
#ifdef PAX_ASLR_DEBUG
uprintf("r=0x%x l2=0x%zx PGSHIFT=0x%x Delta=0x%zx\n", r, l2,
PGSHIFT, delta);
uprintf("pax offset=0x%zx entry=0x%llx\n",
offset, (unsigned long long)eh->e_entry);
uprintf("pax offset=0x%llx entry=0x%llx\n",
(unsigned long long)offset,
(unsigned long long)eh->e_entry);
#endif /* PAX_ASLR_DEBUG */
} else
#endif /* PAX_ASLR */