Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaerr committed Nov 7, 2024
1 parent 17a9828 commit aa4f6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elks/arch/i86/drivers/block/directfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ static void rw_interrupt(void)
if (use_cache) {
cache_drive = current_drive; /* cache now valid */
start = (unsigned int)req->rq_sector;
cache_start = FULL_TRACK? start - sector: start;
cache_start = (FULL_TRACK? start - sector: start);
cache_numsectors = numsectors;
cache_offset = (char *)(((start - cache_start) << 9) + CACHE_OFF);
DEBUG("rd %04x:%04x->%08lx:%04x;", CACHE_SEG, cache_offset,
Expand Down

0 comments on commit aa4f6a8

Please sign in to comment.