1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:58:11 +00:00

Rename FileHandle to FileDescriptor.

This commit is contained in:
Andreas Kling 2018-11-07 11:37:54 +01:00
parent e088121b3a
commit 83172e6a4b
18 changed files with 160 additions and 154 deletions

View file

@ -18,7 +18,7 @@
#include <VirtualFileSystem/RandomDevice.h>
#include <VirtualFileSystem/Ext2FileSystem.h>
#include <VirtualFileSystem/VirtualFileSystem.h>
#include <VirtualFileSystem/FileHandle.h>
#include <VirtualFileSystem/FileDescriptor.h>
#include <AK/OwnPtr.h>
#include "MemoryManager.h"
#include <ELFLoader/ELFLoader.h>
@ -206,11 +206,11 @@ static void init_stage2()
#ifdef KSYMS
{
int error;
auto handle = vfs->open("/kernel.map", error);
if (!handle) {
auto descriptor = vfs->open("/kernel.map", error);
if (!descriptor) {
kprintf("Failed to open /kernel.map\n");
} else {
auto buffer = handle->readEntireFile();
auto buffer = descriptor->readEntireFile();
ASSERT(buffer);
loadKsyms(buffer);
}