diff options
author | dzwdz | 2022-07-16 22:50:34 +0200 |
---|---|---|
committer | dzwdz | 2022-07-16 22:50:34 +0200 |
commit | a251c14f1a745f3388ce73a5a45ebc73cd1782b5 (patch) | |
tree | 2eab140ce2bcc729d8836e97a61bd0d731bb44d6 /src/kernel/arch/amd64/driver/fsroot.c | |
parent | c8ed6aa7476b7f506366d9fe56ed6f2e7a12b40d (diff) |
amd64: back at the shell!
Diffstat (limited to 'src/kernel/arch/amd64/driver/fsroot.c')
-rw-r--r-- | src/kernel/arch/amd64/driver/fsroot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/amd64/driver/fsroot.c b/src/kernel/arch/amd64/driver/fsroot.c index 02a4a21..e651c47 100644 --- a/src/kernel/arch/amd64/driver/fsroot.c +++ b/src/kernel/arch/amd64/driver/fsroot.c @@ -45,7 +45,7 @@ static void req_preprocess(struct vfs_request *req, size_t max_len) { static int handle(struct vfs_request *req) { assert(req->caller); - int id = (int)req->id; + int id = (int)(long)req->id; switch (req->type) { case VFSOP_OPEN: if (exacteq(req, "/")) return HANDLE_ROOT; |