Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern fix debugging printf.



details:   https://anonhg.NetBSD.org/src/rev/6a94794dc66f
branches:  trunk
changeset: 753567:6a94794dc66f
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 02 14:11:18 2010 +0000

description:
fix debugging printf.

diffstat:

 sys/kern/exec_elf.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 2f45572baf5c -r 6a94794dc66f sys/kern/exec_elf.c
--- a/sys/kern/exec_elf.c       Fri Apr 02 13:36:59 2010 +0000
+++ b/sys/kern/exec_elf.c       Fri Apr 02 14:11:18 2010 +0000
@@ -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 @@
 #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 */



Home | Main Index | Thread Index | Old Index