diff options
author | 2007-03-14 16:41:15 +0000 | |
---|---|---|
committer | 2007-03-14 16:41:15 +0000 | |
commit | 450e5192a71d858e0998dbcd120d4425d58bdb97 (patch) | |
tree | 65b9b8963edc8b5202d6f4bd197557814f4af93d | |
parent | Check if there are still blocks left to be allocated _after_ we have (diff) | |
download | wireguard-openbsd-450e5192a71d858e0998dbcd120d4425d58bdb97.tar.xz wireguard-openbsd-450e5192a71d858e0998dbcd120d4425d58bdb97.zip |
Clean up after miod.
-rw-r--r-- | sys/kern/exec_elf.c | 4 |
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; |