summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-03-14 16:41:16 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-03-14 16:41:16 +0000
commit72458d4225398ab8f184f91fa41fe76fec31f64e (patch)
treee3c1e4ca9dbbadb77615747488a7e6c0e786543e /sys
parent3791d125281be71614952b7f4bef91e29af38912 (diff)
Clean up after miod.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/exec_elf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c
index 1bd48c4301d..02b56180232 100644
--- a/sys/kern/exec_elf.c
+++ b/sys/kern/exec_elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.c,v 1.57 2007/03/13 19:34:44 miod Exp $ */
+/* $OpenBSD: exec_elf.c,v 1.58 2007/03/14 16:41:15 kettenis Exp $ */
/*
* Copyright (c) 1996 Per Fogelstrom
@@ -357,7 +357,9 @@ ELFNAME(load_file)(struct proc *p, char *path, struct exec_package *epp,
char *bp = NULL;
Elf_Addr addr;
struct vnode *vp;
+#ifndef SMALL_KERNEL
u_int8_t os; /* Just a dummy in this routine */
+#endif
Elf_Phdr *base_ph = NULL;
struct interp_ld_sec {
Elf_Addr vaddr;