summaryrefslogtreecommitdiff
path: root/src/storage/cache.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-11 17:24:49 -0400
committerbd <bdunahu@operationnull.com>2025-03-11 17:24:49 -0400
commit256fd73b42ae7d10fe0190984d032f839a2127bd (patch)
tree99ffd87c42c7179561877254431cb78fca02a5f3 /src/storage/cache.cc
parentd743af4b5df01e3a75725912bee1d00b8fe573dd (diff)
clarify macro names, implement load in CLI, fix many display issues
Diffstat (limited to 'src/storage/cache.cc')
-rw-r--r--src/storage/cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/cache.cc b/src/storage/cache.cc
index a73390b..14a6e61 100644
--- a/src/storage/cache.cc
+++ b/src/storage/cache.cc
@@ -135,7 +135,7 @@ void Cache::fetch_resource(int expected)
r = this->lower->write_line(
L1CACHE, actual,
((index << LINE_SPEC) +
- (meta->at(0) << (L1_CACHE_SPEC + LINE_SPEC))));
+ (meta->at(0) << (L1_CACHE_LINE_SPEC + LINE_SPEC))));
if (r == OK) {
meta->at(1) = -1;
}