summaryrefslogtreecommitdiffstats
path: root/sys/boot/uboot/lib/elf_freebsd.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-03-13 17:54:21 +0000
committerobrien <obrien@FreeBSD.org>2008-03-13 17:54:21 +0000
commitd0848f449cfa552b05c30bcc6e51bc6139c3686e (patch)
tree0e709adb4347c9e9718297e045714dd2d55024ee /sys/boot/uboot/lib/elf_freebsd.c
parent3c1f420f6a964912961c71b20d47aa0ffb53c13d (diff)
downloadFreeBSD-src-d0848f449cfa552b05c30bcc6e51bc6139c3686e.zip
FreeBSD-src-d0848f449cfa552b05c30bcc6e51bc6139c3686e.tar.gz
style(9) & style.Makefile(9)
Reviewed by: raj
Diffstat (limited to 'sys/boot/uboot/lib/elf_freebsd.c')
-rw-r--r--sys/boot/uboot/lib/elf_freebsd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/boot/uboot/lib/elf_freebsd.c b/sys/boot/uboot/lib/elf_freebsd.c
index 735dd31..31da240 100644
--- a/sys/boot/uboot/lib/elf_freebsd.c
+++ b/sys/boot/uboot/lib/elf_freebsd.c
@@ -63,9 +63,9 @@ int
__elfN(uboot_exec)(struct preloaded_file *fp)
{
struct file_metadata *fmp;
- vm_offset_t mdp;
+ vm_offset_t mdp;
Elf_Ehdr *e;
- int error;
+ int error;
if ((fmp = file_findmetadata(fp, MODINFOMD_ELFHDR)) == NULL) {
return (EFTYPE);
@@ -83,8 +83,7 @@ __elfN(uboot_exec)(struct preloaded_file *fp)
panic("exec returned");
}
-struct file_format uboot_elf =
-{
+struct file_format uboot_elf = {
__elfN(uboot_load),
__elfN(uboot_exec)
};
OpenPOWER on IntegriCloud