summaryrefslogtreecommitdiff
path: root/sys/kern/exec_macho.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2002-10-30 15:04:47 +0000
committerchristos <christos@NetBSD.org>2002-10-30 15:04:47 +0000
commitdc5aff13e689acfdff9b2e979eef07dae4a885d4 (patch)
treec09017ba5c5c208f92593667c0ffdc1bf54c3bce /sys/kern/exec_macho.c
parent1e48015df9b4a0652fcf08e1b20d0f512d41cc33 (diff)
make this compile again.
Diffstat (limited to 'sys/kern/exec_macho.c')
-rw-r--r--sys/kern/exec_macho.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/exec_macho.c b/sys/kern/exec_macho.c
index 917da5f7d6a..eb5b057386e 100644
--- a/sys/kern/exec_macho.c
+++ b/sys/kern/exec_macho.c
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_macho.c,v 1.10 2002/10/29 22:22:31 manu Exp $ */
+/* $NetBSD: exec_macho.c,v 1.11 2002/10/30 15:04:47 christos Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: exec_macho.c,v 1.10 2002/10/29 22:22:31 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exec_macho.c,v 1.11 2002/10/30 15:04:47 christos Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -98,9 +98,9 @@ static void
exec_macho_print_fat_arch(struct exec_macho_fat_arch *arch) {
printf("arch.cputype %x\n", be32toh(arch->cputype));
printf("arch.cpusubtype %d\n", be32toh(arch->cpusubtype));
- printf("arch.offset 0x%lx\n", be32toh(arch->offset));
- printf("arch.size %ld\n", be32toh(arch->size));
- printf("arch.align 0x%lx\n", be32toh(arch->align));
+ printf("arch.offset 0x%x\n", be32toh(arch->offset));
+ printf("arch.size %d\n", be32toh(arch->size));
+ printf("arch.align 0x%x\n", be32toh(arch->align));
}
static void