diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2003-05-01 04:31:33 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2003-05-01 04:31:33 +0000 |
| commit | a5bd71a96d677cb848385515480b751f58c9faa7 (patch) | |
| tree | 4556e2069237900c3f88b08c15372f575cd78951 | |
| parent | 33a9fd010d1cac7487fe78ab03d9b5cf724afc4d (diff) | |
Notes
| -rw-r--r-- | sys/boot/i386/libi386/bootinfo32.c | 2 | ||||
| -rw-r--r-- | sys/boot/i386/libi386/bootinfo64.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/i386/libi386/bootinfo32.c b/sys/boot/i386/libi386/bootinfo32.c index a2fc2c8d0361..4ee968f56b1a 100644 --- a/sys/boot/i386/libi386/bootinfo32.c +++ b/sys/boot/i386/libi386/bootinfo32.c @@ -209,7 +209,7 @@ bi_load32(char *args, int *howtop, int *bootdevp, vm_offset_t *bip, vm_offset_t /* pad to a page boundary */ addr = roundup(addr, PAGE_SIZE); - kfp = file_findfile(NULL, "elf64 kernel"); + kfp = file_findfile(NULL, "elf kernel"); if (kfp == NULL) kfp = file_findfile(NULL, "elf32 kernel"); if (kfp == NULL) diff --git a/sys/boot/i386/libi386/bootinfo64.c b/sys/boot/i386/libi386/bootinfo64.c index 5398a0c0a41a..77e05e88fc40 100644 --- a/sys/boot/i386/libi386/bootinfo64.c +++ b/sys/boot/i386/libi386/bootinfo64.c @@ -179,9 +179,9 @@ bi_load64(char *args, vm_offset_t *modulep, vm_offset_t *kernendp) /* pad to a page boundary */ addr = roundup(addr, PAGE_SIZE); - kfp = file_findfile(NULL, "elf64 kernel"); + kfp = file_findfile(NULL, "elf kernel"); if (kfp == NULL) - kfp = file_findfile(NULL, "elf32 kernel"); + kfp = file_findfile(NULL, "elf64 kernel"); if (kfp == NULL) panic("can't find kernel file"); kernend = 0; /* fill it in later */ |
