Skip to content

Commit 268d890

Browse files
author
codefaber
committed
[libc] Fix copy/paste error in file.cpp
1 parent 82e4b83 commit 268d890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/__support/File/file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ FileIOResult File::write_unlocked_fbf(const uint8_t *data, size_t len) {
123123

124124
FileIOResult result =
125125
platform_write(this, remainder.data(), remainder.size());
126-
size_t bytes_written = buf_result.value;
126+
size_t bytes_written = result.value;
127127

128128
// If less bytes were written than expected, then an error occurred. Return
129129
// the number of bytes that have been written from |data|.

0 commit comments

Comments
 (0)