Skip to content

Commit

Permalink
kernel/vfs: Get the proper size of :ofbXX streams
Browse files Browse the repository at this point in the history
  • Loading branch information
ry755 committed Oct 18, 2024
1 parent e25981b commit 8738047
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/vfs/ofb.asm
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ open_stream_ofb:
in r0, r0
mov r1, r0
srl r1, 16
and r1, 0x0000FFFF
mul r1, r0
mov [r2], r1 ; write file_size
add r2, 4
Expand Down

0 comments on commit 8738047

Please sign in to comment.