diff options
author | 2010-01-14 23:12:11 +0000 | |
---|---|---|
committer | 2010-01-14 23:12:11 +0000 | |
commit | a3c911ba8b4b104be4d76dbf6fe4b9bdb7564ba1 (patch) | |
tree | e019374e91267420d85101c5ab7c17de01195480 /sys/kern/exec_elf.c | |
parent | Restore an if that got lost in the update. (diff) | |
download | wireguard-openbsd-a3c911ba8b4b104be4d76dbf6fe4b9bdb7564ba1.tar.xz wireguard-openbsd-a3c911ba8b4b104be4d76dbf6fe4b9bdb7564ba1.zip |
fix typos in comments, no code changes;
from Brad Tilley <brad at 16systems dot com>;
ok oga@
Diffstat (limited to 'sys/kern/exec_elf.c')
-rw-r--r-- | sys/kern/exec_elf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c index 48b48c89a6a..31399169905 100644 --- a/sys/kern/exec_elf.c +++ b/sys/kern/exec_elf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_elf.c,v 1.71 2009/11/19 02:36:27 guenther Exp $ */ +/* $OpenBSD: exec_elf.c,v 1.72 2010/01/14 23:12:11 schwarze Exp $ */ /* * Copyright (c) 1996 Per Fogelstrom @@ -201,7 +201,7 @@ ELFNAME(check_header)(Elf_Ehdr *ehdr) /* * We need to check magic, class size, endianess, and version before * we look at the rest of the Elf_Ehdr structure. These few elements - * are represented in a machine independant fashion. + * are represented in a machine independent fashion. */ if (!IS_ELF(*ehdr) || ehdr->e_ident[EI_CLASS] != ELF_TARG_CLASS || @@ -209,7 +209,7 @@ ELFNAME(check_header)(Elf_Ehdr *ehdr) ehdr->e_ident[EI_VERSION] != ELF_TARG_VER) return (ENOEXEC); - /* Now check the machine dependant header */ + /* Now check the machine dependent header */ if (ehdr->e_machine != ELF_TARG_MACH || ehdr->e_version != ELF_TARG_VER) return (ENOEXEC); @@ -641,7 +641,7 @@ native: pp, &addr, &size, &prot, flags); /* - * Update exe_base in case allignment was off. + * Update exe_base in case alignment was off. * For PIE, addr is relative to exe_base so * adjust it (non PIE exe_base is 0 so no change). */ |