Module Name: src
Committed By: christos
Date: Fri Apr 2 14:11:18 UTC 2010
Modified Files:
src/sys/kern: exec_elf.c
Log Message:
fix debugging printf.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/kern/exec_elf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/exec_elf.c
diff -u src/sys/kern/exec_elf.c:1.19 src/sys/kern/exec_elf.c:1.20
--- src/sys/kern/exec_elf.c:1.19 Mon Mar 22 18:10:10 2010
+++ src/sys/kern/exec_elf.c Fri Apr 2 10:11:18 2010
@@ -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 */