diff options
Diffstat (limited to 'serverboot/def_pager_setup.c')
-rw-r--r-- | serverboot/def_pager_setup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/serverboot/def_pager_setup.c b/serverboot/def_pager_setup.c index 194f0355..8834a379 100644 --- a/serverboot/def_pager_setup.c +++ b/serverboot/def_pager_setup.c @@ -58,11 +58,12 @@ add_paging_file(master_device_port, file_name, linux_signature) result = open_file_direct(pfile.f_dev, fdp, isa_file); if (result) - panic("Can't open paging file %s\n", file_name); + panic("Can't open paging file %s: %s\n", + file_name, strerror (result)); result = add_file_direct(fdp, &pfile); if (result) - panic("Can't read disk addresses: %d\n", result); + panic("Can't read disk addresses: %s\n", strerror (result)); close_file(&pfile); |