mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Improved corruption panic message in initrd.cpp
This commit is contained in:
parent
b0884584a1
commit
8e8bb15a1b
1 changed files with 3 additions and 2 deletions
|
@ -119,8 +119,9 @@ namespace Sortix
|
|||
if ( trailer->sum != checksum )
|
||||
{
|
||||
PanicF("InitRD Checksum failed: the ramdisk may have been "
|
||||
"corrupted by the bootloader: Got %u instead of %u\n",
|
||||
checksum, trailer->sum);
|
||||
"corrupted by the bootloader: Got %u instead of %u "
|
||||
"when checking the ramdisk at 0x%p + 0x%zx bytes\n",
|
||||
checksum, trailer->sum, initrd, initrdsize);
|
||||
}
|
||||
|
||||
Syscall::Register(SYSCALL_PRINT_PATH_FILES, (void*) SysPrintPathFiles);
|
||||
|
|
Loading…
Reference in a new issue