summaryrefslogtreecommitdiff
path: root/src/kernel/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch')
-rw-r--r--src/kernel/arch/amd64/driver/fsroot.c2
-rw-r--r--src/kernel/arch/amd64/driver/time.c2
2 files changed, 2 insertions, 2 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;
diff --git a/src/kernel/arch/amd64/driver/time.c b/src/kernel/arch/amd64/driver/time.c
index 8ae6fb2..f47cb74 100644
--- a/src/kernel/arch/amd64/driver/time.c
+++ b/src/kernel/arch/amd64/driver/time.c
@@ -24,7 +24,7 @@ handle(VfsReq *req)
TimeObj *h;
if (req->type == VFSOP_OPEN) {
if (reqpathcmp(req, "")) {
- h = kmalloc(sizeof *h, "dev/time");
+ h = kmalloc(sizeof *h, TagDevTime);
h->base = uptime_ns();
return (uintptr_t)h;
} else {