summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/driver/fsroot.c
diff options
context:
space:
mode:
authordzwdz2024-07-16 23:55:32 +0200
committerdzwdz2024-07-17 00:01:15 +0200
commit473112b1541cf81fa3670e0d1cb6de1c4a3281de (patch)
tree4df8f777e2150468e8866f4496e1de32b309ccda /src/kernel/arch/amd64/driver/fsroot.c
parente29f0e294ac841e2036fe514df4ed66f5d0ec46f (diff)
kernel: make kmalloc accept a numeric "tag" instead of a freeform description
This will both let me save space in the allocation header, and make the debugprint more readable.
Diffstat (limited to 'src/kernel/arch/amd64/driver/fsroot.c')
-rw-r--r--src/kernel/arch/amd64/driver/fsroot.c2
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 228232e..a283daa 100644
--- a/src/kernel/arch/amd64/driver/fsroot.c
+++ b/src/kernel/arch/amd64/driver/fsroot.c
@@ -53,7 +53,7 @@ handle(VfsReq *req)
case Hdev:
if (!dev) {
dev_len = get_dev(NULL);
- dev = kmalloc(dev_len, "/ cache");
+ dev = kmalloc(dev_len, TagRootCache);
get_dev(dev);
}
lst = dev;